首页 > 数据库 > Oracle > 1Z0-052 V12.49 Q128
SQL> create table cow_test(id number,dt date);
表已创建。
SQL> insert into cow_test values (1,sysdate);
已创建 1 行。
SQL> /
已创建 1 行。
SQL> /
已创建 1 行。
SQL> /
已创建 1 行。
SQL> insert into cow_test select * from cow_test;
已创建 4 行。
SQL> /
已创建 8 行。
SQL> /
已创建 16 行。
SQL> /
已创建 32 行。
SQL> /
已创建 64 行。
SQL> /
已创建 128 行。
SQL> /
已创建 256 行。
SQL> /
已创建 512 行。
SQL> select object_id,data_object_id from dba_objects where object_name='COW_TEST';
OBJECT_ID DATA_OBJECT_ID
---------- --------------
80023 80023
SQL> truncate table cow_test;
表被截断。
SQL> select object_id,data_object_id from dba_objects where object_name='COW_TEST';
OBJECT_ID DATA_OBJECT_ID
---------- --------------
80023 80024
SQL>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/81227/viewspace-2105632/ ,如需转载,请注明出处,否则将追究法律责任。