IT
摘要: use Northwindgoexec File2Table '.','sa','sa','Northwind','',1 --导出整个库中的表到C盘下 且文件名是以数据表来命名EXEC master..xp_cmdshell 'bcp Northwind..Categories out c:\temp1.xls -c -q -S"." -U"sa" -P"sa"'--导出一张表到c盘下if exists(select 1 from sys 阅读全文
posted @ 2011-07-16 19:25 liufei 阅读(366) 评论(0) 推荐(0)