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
Lynn Pettis
SSC Guru
Points: 442467
More actions
August 7, 2012 at 12:11 pm
#1522770
chaitukadivella (8/7/2012)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.
chaitukadivella (8/7/2012)
Is the other schema known and static or can it change as well?