摘要: postgresql提供有强大的正则表达式系统,可以在数据库级别实现模糊查询。正则表达式匹配操作符: 例如:找出数据表account中所有用户名包含baidu且不区分大小写的用户的信息。select * from account where username ~* 'baidu';使用正则表达式之后 阅读全文
posted @ 2016-04-02 18:24 guaidaoK的博客 阅读(19077) 评论(1) 推荐(0) 编辑
摘要: 导出整个库:pg_dump -h localhost -U postgres -p 5432 qsdb>e:\qsdb1.dmp 导出指定模式:pg_dump -h localhost -U postgres -p 5432 --schema=dgbt qsdb>e:\qsdb1.dmp 导入:ps 阅读全文
posted @ 2016-04-02 18:22 guaidaoK的博客 阅读(1433) 评论(0) 推荐(0) 编辑