MCQs > IT & Programming > Microsoft SQL Server > Which of the following commands is used to save the output to a text file after you run a Transact-SQL script using sqlcmd?

Microsoft SQL Server MCQs

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

Answer

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

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Microsoft SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Microsoft SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it