Viewing 3 posts - 1 through 3 (of 3 total)
Rae-Jin Shui (1/16/2013)
1. create a table with the columns based on your query.
2. create sql statement so it inserts into the table from your query but include a loop...
January 16, 2013 at 7:26 am
How about...
1. create a table with the columns based on your query.
2. create sql statement so it inserts into the table from your query but include a loop to run...
January 16, 2013 at 7:02 am
How about this...
create procedure CompareTables @table1 varchar(100), @table2 varchar(100)
as
declare @sql varchar(8000)
set @sql = 'select ''' + @table1 + ''' as tblName, *...
June 4, 2008 at 3:04 am
Viewing 3 posts - 1 through 3 (of 3 total)