急!!!请教! insert into table1select * from table2 where convert(varchar(10),date,120)='2005-12-07' 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 declare @date datetimeset @date = '2005-12-07'insert into table1 select * from table2 where datediff(dd,日期字段,@date)=0 求SQL语句 用sql写,何如得到父级编号。 如何用sql语句去掉主键的自增长属性? top系列——5 过程、函数或触发器 中不允许使用 USE database 语句 关于定时备份的问题 那位大哥会请写详细点! 存储过程中变量类型声明为varchar之后出现的问题 远程数据库连接问题-我给了我能给分的最大值啊,还可以加的。 CTE问题:BOM从底层找到最顶层的记录 求一Sql语句 表变量来代替临时表,优点?
set @date = '2005-12-07'insert into table1
select * from table2 where datediff(dd,日期字段,@date)=0