create table myTestTable6 as
select rownum as id,
to_char(sysdate + rownum/24/3600, 'yyyy-mm-dd hh24:mi:ss') as inc_datetime,
trunc(dbms_random.value(0, 100)) as random_id,
dbms_random.string('x', 20) random_string
from dual
connect by level <= 50000000;
create table t100 (id number not null,address varchar(500) not null,sales number not null);
insert into t100 select trunc(dbms_random.value(1,1000000)) as id,(dbms_random.string('a',500)) as address,trunc(dbms_random.value(1,3000000)) as sales from dual connect by level <=1000000;
echo commit work;
浙公网安备 33010602011771号