Question:Which of the following commands is used to save the output to a text file after you run a Transact-SQL script using sqlcmd? 

A sqlcmd -S instanceName -o C:\new.txt 

B sqlcmd -S instanceName -i C:\myScript.sql -o C:\new.txt 

C sqlcmd -S myServer\instanceName -o C:\new.txt 

D sqlcmd -S myServer\instanceName -i C:\myScript.sql -o C:\new.txt 

+ Answer
+ Report
Total Preview: 449

Copyright © 2024. Powered by Intellect Software Ltd