![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PostgreSQL
likey3
这个作者很懒,什么都没留下…
展开
-
PGSQL的字符串函数
转自 http://gavin-chen.iteye.com/blog/262847 今天做项目遇到客户反映了一个麻烦的事情,有一些数据存在,但就是在程序中搜索不出来,后来分析,发现问题为数据前面有几个空白字符,后来用SQL查询了一下,发现八九个数据表中,数千万条数据中有将近三百万条数据存在相同的问题,本想着在查询时添加匹配符'%',后来试运行了一下,发现不可行,因为尚有很多其它页转载 2014-04-25 19:31:54 · 2654 阅读 · 0 评论 -
PGSQL时间函数
中文用法转自 http://my.oschina.net/Kenyon/blog/57188pgsql官方文档 http://www.postgresql.org/docs/8.1/static/functions-datetime.html 1.获取系统时间函数select now(); --2012-05-12 18:51:59.562转载 2014-04-25 19:32:38 · 2770 阅读 · 0 评论 -
pl/pg 语言运行中输出信息
官方文档:http://www.postgresql.org/docs/8.1/static/plpgsql-errors-and-messages.html Use the statement to report messages and raise errors.RAISE '' [, [, ...]];Possible levels are , , , ,转载 2014-04-25 19:33:40 · 663 阅读 · 0 评论