Home Forums SQL Server 7,2000 T-SQL Inserting TAB into string RE: Inserting TAB into string
drewmie
Mr or Mrs. 500
Points: 504
More actions
May 11, 2017 at 11:06 am
#1942194
I solved this by just creating a blank tab column, then copying both columns. It pastes perfectly with a tab.
SELECT '' AS Tab, 'Text following tab.' AS OtherTextI use this method when I want to generate well-tabbed SQL code.
SELECT '' AS Tab, 'Text following tab.' AS OtherText