RE: Using variable in WHERE clause on sysobjects
Look up dynamic SQL on this site. Be sure to do the following: Reasons to be reluctant or/and mindful of dynamic SQL can be found here. Do read it. http://www.sommarskog.se/dynamic_sql.html 'The Curse and Blessings of Dynamic SQL'
2005-04-05