PostgreSQL導出待註釋的的表結構爲Excel

select a.attnum AS "序號", c.relname AS "表名", cast(obj_description(relfilenode,'pg_class') as varchar) AS "表名描述", a.attname AS "列名", concat_ws('',t.typname,SUBSTRING(format_type(a.atttypid,a.atttypmod)
相關文章
相關標籤/搜索