【发布时间】:2014-11-04 02:57:56
【问题描述】:
我有一个问题
delete from qdocs where path < './qbin/arch/2014-08-01' + and path > './qbin/arch'
需要像变量一样
delete from qdocs where path < './qbin/arch/current_date - 31 day' + and path > './qbin/arch'
【问题讨论】:
标签: postgresql variables