i would do it like this
DECLARE @tableName AS varchar (50), @sqlCmd varchar(max)
SELECT @tableName=nameOfTable
FROM
WHERE tabledisc = 1
SELECT @sqlCmd='SELECT * FROM '+@tableName
EXEC sp_executesql @sqlCmd
dynamic SQL is the best choice for this sort of queries
Here is one of the best article about it
http://www.sommarskog.se/dynamic_sql.html