下面使用getdate() 为何会报Column not found 为什么下面这句没有问题
AND "&chr(34)&"HPD:HelpDesk"&chr(34)&"."&chr(34)&"Create Time"&chr(34)&" = "&chr(39)&"2012-11-6 19:23:04"&chr(39)&"
但是
AND "&chr(34)&"HPD:HelpDesk"&chr(34)&"."&chr(34)&"Create Time"&chr(34)&" = getdate()
就提示Column not found
SELECT "HPD:HelpDesk"."Assigned To individual+", "HPD:HelpDesk"."Create Time"
from "HPD:HelpDesk" "HPD:HelpDesk" WHERE (datediff(mi, "HPD:HelpDesk"."Create Time",getdate()) > 30)
ORDER BY "HPD:HelpDesk"."Case ID+"