|
LOAD
TRUNCATE
INTO TABLE FOO_TABLE2
(
id SEQUENCE(1000),
name EXPRESSION "decode(ceil(dbms_random.value(0,10)),1,'James',2,'John',3,'Robert',4,'Michael',5,'William',6,'Mary',7,'Patricia',8,'Linda',9,'Barbara',10,'Susan')||' '||decode(ceil(dbms_random.value(0,10)),1,'Smith',2,'Johnson',3,'Williams',4,'Jones',5,'Brown',6,'Davis',7,'Miller',8,'Wilson',9,'Moore',10,'Taylor')",
street_address EXPRESSION "ceil(dbms_random.value(0,10000))||' '||decode(ceil(dbms_random.value(0,10)),1,'Washington',2,'Jackson',3,'Adams',4,'Main',5,'Park',6,'Seventh',7,'Maple',8,'Pine',9,'Hill',10,'Second')||' '||decode(ceil(dbms_random.value(0,3)),1,'St',2,'Ave',3,'Blvd')",
birth_date EXPRESSION "trunc(SYSDATE-dbms_random.value(10000,32850))",
education_level EXPRESSION "decode(ceil(dbms_random.value(0,6)),1, 'High school', 2, 'Associate degree', 3, 'Bachelors degree', 4, 'Postgraduate', 5,'PhD, law or medical degree',6,'High school dropout')"
)
|