question

Waqar_lionheart avatar image
Waqar_lionheart asked

What can be achieved via command line sqlcmd?

Hi All, trying to acquaint myself with sqlcmd. While I understand there is a very helpful list of functions that can be achieved but I would like to know what are the main things I can do with this. Regards, Waqar
sqlcmdcommand-line
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

KenJ avatar image KenJ commented ·
Not to be trite, but you can literally do everything SQL Server can do via sqlcmd. It's like a fully programmable version of SSMS that you can include in batch files, powershell scripts and the like, to make SQL dance to whatever tune you please.
2 Likes 2 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.