How to execute dynamic SQL?

Filed under: Transact-SQL (T-SQL) — SQL Stan at 10:31 am on Monday, July 30, 2007

Q: How i can execute dynamic sql statement?

Kevin Kline says: Dynamic SQL, in and of itself, isn’t very hard. But doing it well is hard.

Rather than try to tell you all of the nuances of it myself, I encourage you to look at the website of MVP Erland Sommarskog. He’s done a lot of great work on the topic at http://www.sommarskog.se/dynamic_sql.html.

Technorati Tags:
,


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>