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 ArticleAnswer 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 ArticleAnswer 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 Articleoracle 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
More Pages to Explore .....