获取表名及注释:select relname as tabname,cast(obj_description(relfilenode,'pg_class') as varchar) as comment from pg_class c where relkind = 'r' and relname not like 'pg_%' and relname not like 'sql_%' order by relname过滤掉分表..
-->Title:Generating test data -->Author:wufeng4552 -->Date :2009-09-25 09:56:07 if object_id('tb')is not null drop table tb go create table tb(ID int,name text) insert tb select 1,'test' go --方法1 复制代码 代码如下: select sql_va..