level 1
spely111111
楼主
DB2下写了这么句话:select * from hi_psndoc_grpdef1 where year(begindate)=2010 其中begindate是hi_psndoc_grpdef1的一个字段,日期型的。
报“日期时间值的字符串表示法的语法不正确”错误
请教各位,这是什么意思啊?
写成 select year(begindate) from hi_psndoc_grpdef1 就是对的,这是什么原因呢?
急!!
2011年07月21日 06点07分
1
报“日期时间值的字符串表示法的语法不正确”错误
请教各位,这是什么意思啊?
写成 select year(begindate) from hi_psndoc_grpdef1 就是对的,这是什么原因呢?
急!!