一些有用的SQL Server语句和存储过程[16]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 applebbs 的 blog

008080">
230
231set @sql='exec master.dbo.xp_cmdshell ''bcp ..dbo.##tx out c:\'+@db+'_exp.xls -w -c936 -usa -psa '''
232
233print @sql
234
235exec(@sql)
236
237go
238
239drop table ##tx
240
241go
242
243 
244
245 
246
247 
248
249-- ======================================================

本文关键:一些有用的SQL Server语句和存储过程
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top