declare @str varchar(8000)
set @str='bcp ..dbo.##tmpYdh out c:\Ribao\'+convert(varchar,Getdate(),120)+'mh_hy_exp.xls -w -C936 -Usa -P'
exec master..xp_cmdshell @str这样可否?
set @str='bcp ..dbo.##tmpYdh out c:\Ribao\'+convert(varchar,Getdate(),120)+'mh_hy_exp.xls -w -C936 -Usa -P'
exec master..xp_cmdshell @str这样可否?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货