lomg 发表于 2016-11-20 08:16:06

PostgreSQL View Table Info

SELECT * FROM pg_attribute WHERE attrelid = ‘tablename’::regclass;
–只查看字段名
SELECT attname FROM pg_attribute WHERE attrelid = ‘tablename’::regclass;
页: [1]
查看完整版本: PostgreSQL View Table Info