时间:2021-07-01 10:21:17 帮助过:14人阅读
queryout "D:\sql\.txt" -c -S"QCLOUD-VM" -U"username" -P"pwd"‘‘‘)
2、导入文件:
exec master..xp_cmdshell ‘bcp [dbname].[dbo].tablename in d:\sql\sql.txt -c -T‘
sql server的bcp指令
标签:select str shel lin option configure cloud shell table