set serveroutput on
set linesize 1000
set feedback off
set long 9999999
set pagesize 0
spool E:\nf\cux_comments.sql
select 'comment on table ' || table_name || ' is ' || '''' || comments ||
''';'
from dba_tab_comments where owner='CUX'
and comments is not null;
select 'comment on column ' || table_name || '.' || column_name || ' is ' || '''' ||
comments || ''';'
from dba_col_comments where owner='CUX';
spool off;
set serveroutput on
set linesize 1000
set feedback off
set long 9999999
set pagesize 0
spool E:\nf\all_cux_comments.sql
select 'comment on table ' || table_name || ' is ' || '''' || comments ||
''';'
from dba_tab_comments where table_name like '%CUX%'
and comments is not null;
select 'comment on column ' || table_name || '.' || column_name || ' is ' || '''' ||
comments || ''';'
from dba_col_comments where table_name like '%CUX%';
spool off;
最新评论
这个牛
放下欲望,男人从来不醉,充分且必要
勇气、责任、自信、创新,为天下先!
软件即数据,软件即服务,软件即管理,软件就是对人类各种社会活动的仿真和记录。软件很重要,但软件不可能凌驾于业务之上,尤其不可能高人一等。