postgresql 查询某一个表中的所有字段详解数据库

postgresql 查询某一个表中的所有字段,也就是查询所有的列名

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

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/5693.html

(0)
上一篇 2021年7月17日 00:14
下一篇 2021年7月17日 00:14

相关推荐

发表回复

登录后才能评论