R
Raterus
Ok I know the pro's and con's of this subject
http://www.knowdotnet.com/articles/dynamisql.html
I'm trying to convert my colleagues, but they are stuck on one thing with dynamic sql, when they have a problem it is much easier to get the exact view of the sql statement with the values they've loaded onto it when they debug. So if they see an error they can cut/paste the entire string to query analyzer and investigate.
Is there an easy way to do this when using parameters. Something that would "fill in the blanks" for me, just so I can see what the end result sql would look like?
Thanks,
--Michael
http://www.knowdotnet.com/articles/dynamisql.html
I'm trying to convert my colleagues, but they are stuck on one thing with dynamic sql, when they have a problem it is much easier to get the exact view of the sql statement with the values they've loaded onto it when they debug. So if they see an error they can cut/paste the entire string to query analyzer and investigate.
Is there an easy way to do this when using parameters. Something that would "fill in the blanks" for me, just so I can see what the end result sql would look like?
Thanks,
--Michael