一个关于时间变量的问题,搞不定,请教大家!
Posted on 八月 16rd, 2007 由 admin
declare @date1 smalldatetime
select @date1=2003-8-1
exec(select *
into temptable
from table1
where stadate=+@sdate1)
drop table temptable
服务器: 消息 170,级别 15,状态 1,行 4
第 4 行: 18 附近有语法错误。
推荐阅读


讨论区