批量获取oracle的表和表字段注释 --用户表注释表 SELECT * FROM USER_TAB_COMMENTS WHERE TABLE_NAME LIKE 'WEB_ISC_%'; --显示指定表的注释 SELECT 'comment on table ' || T.TABLE_NAME || ' is ''' || T.COMMENTS || '''' FROM USER_TAB_COMMENTS T WHERE T.TABLE_NAME LIKE 'WEB_ISC_%'; --用户字
在python中,三引号支持字符串跨多行.包含换行符号.制表符号.以及其它特殊字符 >>> hi = ''' ... this ... is a ... test ... ''' >>> print hi this is a test >>> hi '\nthis \nis a \ntest\n' >>> 此外,还可以进行多行注释.