摘要:
[代码]select convert(nvarchar(13),begintime,120),count(1) from tb_table(nolock)where begintime>='2008-10-20' and begintime<'2008-10-21'group by convert(nvarchar(13),begintime,120) 阅读全文
摘要:
修改机器名字后,修改sql任务,提示不能修改、删除任务等等,用下面的语句就可以处理。 use msdb go sp_configure allow updates,1 reconfigure with override go update sysjobs set originating_server=@@servername go sp_configure allow updates,0 reco... 阅读全文