|
Generate dynamic SQL statements in SQL ServerA dynamic SQL statement is constructed at execution time, for which different conditions generate different SQL statements. It can be useful to construct these statements dynamically when you need to decide at run time what fields to bring back from SELECT statements; the different criteria for your queries; and perhaps different tables to query based on different conditions. |
11 March 2008
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URI






