How does one format wide listings vertically like in MySQL using the sqlcmd client? Or should I be using osql instead?
And must I write “GO” each time to execute my query? Is there a shorthand?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
-yor-Yto limit the width of wide columns in SQLCMD, but I’m not sure there’s a way to wrap the contents of the column within that width, which is what I believe you’re asking.Also, you can use
-cto specify a custom command terminator instead ofGO, which is the default.