I\'m using SQL Server 2008. Say I create a temporary table like this one:
create table #MyTempTable (col1 int,col2 varchar(10))
How can I r
you can do it by following way too ..
create table #test (a int, b char(1)) select * From #test exec tempdb..sp_columns '#test'