Home Forums SQL Server 2005 T-SQL (SS2K5) "Variable" for switching Table Names RE: "Variable" for switching Table Names
ssssqlguy
Grasshopper
Points: 15
More actions
April 9, 2012 at 9:17 am
#1470700
Yep. You could absolutely filter by the table-name contained within the View's defnition; or, if you know the customer name - use that. With the later approach way you're negating the dependency on coding against a 'table name' per se.