postgresql 查询某一个表中的所有字段

select * from information_schema.columns
where table_schema='public' and table_name='表名称 ';

猜你喜欢

转载自www.cnblogs.com/wanghzh/p/9239408.html