MSSQL 导入导出文本文件
时间:2014-06-25 09:13:57
收藏:0
阅读:282
EXEC master..xp_cmdshell ‘bcp FH2_SJH.dbo.dCurrent in c:\tt.txt -c -t -S"SMARTSENCER\SQL2008" -U"sa" -P"password"‘
EXEC master..xp_cmdshell ‘bcp FH2_SJH.dbo.band out c:\band.txt -c -t -S"SMARTSENCER\SQL2008" -U"sa" -P"passwor"‘
评论(0)