The following will create a select statement for Sql Server for all tables in the database:
SELECT ‘SELECT FROM ‘ + name FROM sys.Tables
The following will create a select statement for Sql Server for all tables in the database:
SELECT ‘SELECT FROM ‘ + name FROM sys.Tables