I am trying to print a tab in sql server using:
select 'tab-->' + char(9) + '<--tab'
But it doesn’t seem to work and always prints
tab--> <--tab
Is there any thing I am missing?
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.
If you’re testing this inside of Management Studio, the
Results to Grid(Ctrl + D) setting will change your tab to a space… try switching toResults to Text(Ctrl + T) instead, and you will see the tab.Alternately, you can change your
selectto aprint:Outputs…