SyntaxFix
Write A Post
Hire A Developer
Questions
Declare @tablename varchar(50) set @tablename = 'Your table Name' EXEC('select * from ' + @tablename)