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

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

 

posted @ 2018-06-28 16:32  wangheng1409  阅读(2133)  评论(0编辑  收藏  举报