Home Forums SQL Server 2005 T-SQL (SS2K5) Use Variable as SQL column Name in query RE: Use Variable as SQL column Name in query
chaitukadivella
SSC Enthusiast
Points: 119
More actions
August 7, 2012 at 12:06 pm
#1522766
This works fine when the table is in default schema that is dbo. Can you specify how we can make this query work when the table is in some other schema.