Postgresql,常用sql备忘
时间:2014-06-27 20:03:51
收藏:0
阅读:214
1、查看所有表的名称
Postgresql,greeplum,如果数据库在几千里以外,数据量巨大,网速不好,使用pgadmin客户端,那么你大部分时间都要浪费在等在中。。。
使用pgadmin的query是个不错的选择,但是,怎么才能知道表名呢,这丫真没mysql好用——
SELECT tablename FROM pg_tables where tablename not like ‘gp%‘ and tablename not like ‘gp%‘ and tablename not like ‘sql%‘
评论(0)