Home Forums SQL Server 7,2000 T-SQL Column name lookup RE: Column name lookup
guarddata
SSCertifiable
Points: 6583
More actions
July 10, 2003 at 1:24 pm
#464966
Just one result set? Sure.
Create temporary table
cursor
insert into temptable
exec sp_executesql @selSQL
deallocate cursor
select * from temp table
(Hope that's not too sketchy)
Guarddata-