我是SQL的新手。我正在尝试使用所选列的报告,但只有那些“datecreated”在03/01/2016或之后,而“datefirstship”在2016年3月15日或之前...这就是我的想法它会起作用......
SELECT num,customerpo,shiptoname,datecreated,datefirstship,note
FROM SO
WHERE datecreated >= 2016/03/01 AND datefirstship <= 2016/03/15
...但我收到此错误消息......
ERROR #50805215
Query failed to execute. GDS Exception. 335544334. conversion error from string "672"
答案 0 :(得分:1)
首先在您指定的日期周围加上单引号。