17,139
社区成员




SQL> create table t (t1 int );
Table created.
SQL> select object_id from obj where object_name = 'T';
OBJECT_ID
----------
5871
SQL> conn / as sysdba
Connected.
SQL> insert into com$ values(5871,null,'这只是一个做测试的临时表而已^_^');
1 row created.
SQL> commit;
Commit complete.
SQL> conn jfdata/jf
Connected.
SQL> select * from user_tab_comments where table_name = 'T';
TABLE_NAME TABLE_TYPE
-------------------- --------------------
COMMENTS
------------------------------------------------------------------------------------------------------------------------
T TABLE
这只是一个做测试的临时表而已^_^
SQL> conn / as sysdba
Connected.
SQL> update com$ set comment$ = 'this is just a test for test the comment adding'
2 where obj# = 5871 and col# is null;
1 row updated.
SQL> commit;
Commit complete.
SQL> conn jfdata/jf
Connected.
SQL> select * from user_tab_comments where table_name = 'T';
TABLE_NAME TABLE_TYPE
-------------------- --------------------
COMMENTS
------------------------------------------------------------------------------------------------------------------------
T TABLE
this is just a test for test the comment adding
SQL>