Steven C. Buttgereit
Member
I must be missing something. I'm trying to generate data in a date column and am using the 'random' function. I can get it to create the dates, but can't seem to get it to be bounded by the min/max.
After looking in the documentation, the forumns and some experimentation, I surrender. Is what I'm trying to do possible?
if I use the random function such as:
"random(01/01/2006,12/31/2006)" or 01/01/06, etc.
I get values like:
to_date('30-12-2850 12:40:53', 'dd-mm-yyyy hh24:mi:ss')
in the generated data. Any other format or attempting to specify a date format, I get bogus results usually something like 12-30-1899 or something that translates into a number (using date format) like 20060512 without the to_date function wrapping the value.
I'm on PL/SQL Developer Version 7.0.2.1076.
Any help would be appreciated!
Steve
After looking in the documentation, the forumns and some experimentation, I surrender. Is what I'm trying to do possible?
if I use the random function such as:
"random(01/01/2006,12/31/2006)" or 01/01/06, etc.
I get values like:
to_date('30-12-2850 12:40:53', 'dd-mm-yyyy hh24:mi:ss')
in the generated data. Any other format or attempting to specify a date format, I get bogus results usually something like 12-30-1899 or something that translates into a number (using date format) like 20060512 without the to_date function wrapping the value.
I'm on PL/SQL Developer Version 7.0.2.1076.
Any help would be appreciated!
Steve