随笔分类 -  gp.字典表

摘要:【sql】 select a.tablename as tname b.remark as remark from ( select table_name tablename from information_schem.tables where upper(table_schema)=upper( 阅读全文
posted @ 2022-08-20 09:00 不朽的飞翔 阅读(293) 评论(0) 推荐(0)
摘要:【SQL】 select attname as name, attnum as orderNum, col_description(attrelid,attnum) as remark from pg_attribute where attrelid='your table'::regclass a 阅读全文
posted @ 2022-08-19 05:25 不朽的飞翔 阅读(163) 评论(0) 推荐(0)
摘要:【SQL】 一行流方式: select count(*) from information_schema.table where table_schema='your schema' and table_type='BASE TABLE' and upper(table_name)=upper('y 阅读全文
posted @ 2022-08-19 05:21 不朽的飞翔 阅读(115) 评论(0) 推荐(0)