Comments
1 comment
-
Turambar wrote:I have the following query:
...
Note: the ^M and the inner join until the end of the query are on the same line. This gets interpreted by Management Studio as one long comment.
...
The nice world of \r\nWe will look at this issue and fix it for the next beta.
Thanks,
Andras
Add comment
Please sign in to leave a comment.
I Refactor, and get:
This looks good, but when I open it in a text editor (Vim), I get the following:
select top 4
*
from
orders -- get the customers^M inner join dbo.customers on orders.customerid = dbo.customers.customerid
Note: the ^M and the inner join until the end of the query are on the same line. This gets interpreted by Management Studio as one long comment.
The effective query that is run is:
Could anyone look into / replicate this?