Quantcast
Channel: oracle function call is being cached during bulk insert - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

Answer by Benoit for oracle function call is being cached during bulk insert

APC's diagnostic is correct. You need to have entropy in your random generator seed.Though, Oracle already has a unique id generator which is SYS_GUID().SELECT sys_guid(), name FROM my_table2;You can...

View Article



Answer by APC for oracle function call is being cached during bulk insert

The thing is, "random" isn't actually random. Given the same seed for DBMS_RANDOM.INITIALISE(), subsequent calls to DBMS_RANDOM.VALUE() will return the same result. Check it out:SQL> exec...

View Article

Answer by tbone for oracle function call is being cached during bulk insert

Haven't tried it, but I believe Oracle is calculating the value for your new_uuid() function once, and outputting for each returned row (same as if you did select systimestamp, whatever from...

View Article

oracle function call is being cached during bulk insert

when inserting bulk rows and using a function call as one of the column values i'm getting exactly the same values for every 10-11 rows from the function. the function is actually generating UUID...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images