Viewing 4 posts - 1 through 4 (of 4 total)
Define a single var as char(2) with cr and lf in it, instead of chancing forgetting either when you put them in separate vars.
Question posters: Run your code and mention...
December 23, 2010 at 2:26 am
What is it with questions being wrong on this site?
SQL 2008 Developer Edition. I copied your code, pasted into my SSMS and this is the exact output:
What you see...
-----------------------
print 1
--...
December 23, 2010 at 2:11 am
I don't think there was an "it depends" answer. It seems the question is flawed to the point where you can't say that a single answer is always true, most...
December 16, 2010 at 3:42 am
I typed the code into my SSMS as I wasn't sure of the answer, and I definitely got the error complaining about the number of columns. I could be doing...
December 16, 2010 at 1:57 am
Viewing 4 posts - 1 through 4 (of 4 total)