Home Forums SQL Server 2008 SQL Server 2008 - General create table variable dynamically RE: create table variable dynamically
gsd1
Default port
Points: 1442
More actions
October 29, 2012 at 1:27 pm
#1553885
Ray M,
Thanks for the quick response...
I don't know the column type to declare the table variable initially.
I have to query sysColumns table to know the columns and then I have to create a temp table based on the result.
Regards,