I wanted some reference book on dynamic sql exclusively.Can any of you suggest one?
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
I know it is not a book, but I would definitely start with "The Curse and Blessing of Dynamic SQL" at http://www.sommarskog.se/dynamic_sql.html It is written by an MVP and is impressively detailed.
No one has followed this question yet.
Execute a Query against multiple servers
The Suggested Shopping List Problem...
Statistics on the databases
find out which login last accessed db
ID repetition with respect to month in SQL