通过如下sql语句
a.attname as name, a.attnotnull as notnull
FROM pg_class as c,pg_attribute as a
where c.relname ='tablename'and a.attrelid = c.oid and a.attnum>0
通过如下sql语句
a.attname as name, a.attnotnull as notnull
FROM pg_class as c,pg_attribute as a
where c.relname ='tablename'and a.attrelid = c.oid and a.attnum>0
PostgreSQL教程
对于复杂一些的表格,第一个单元格会比较特殊,可能包含了两个高级的标题(标题的标题)如果
PostgreSQL(四)存储结构
. Postmaster主进程和服务进程 当PG数
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M