【发布时间】:2011-01-20 02:02:06
【问题描述】:
我有字段:
APP_DATE (smalldatetime)
我正在做这个查询:
INSERT INTO table (TYPE, CODE, APP_DATE, DATE) VALUES ('APP', '123', '02/10/2010 12.30', GETDATE())
失败了:
Msg 296, Level 16, State 3, Line 1
Conversion from datatype char to smalldatetime generated a value not between the interval of valid values.
Instruction has been interrupted.
(0 row(s) affected)
我做错了什么?在我看来,该字段的正确格式..
感谢您的宝贵时间。
编辑:SQL Server 2000
【问题讨论】:
标签: sql-server sql-server-2000 insert