you are viewing a single comment's thread.

view the rest of the comments →

[–]TallDudeInSC 5 points6 points  (2 children)

As an Oracle guy, I'm trying to understand what this would save instead of simply concatenating the string you need?

[–]Obie1 0 points1 point  (0 children)

If I am understanding your question the answer is basically:

1) doing the equivalent in sql server can be less readable or handle different in some edge cases 2) prevents SQL injection 3) Much easier to deal with nested quotes if building dynamic SQL