How do I get structure of temp table then delete temp table. Is there a sp_helptext for temp tables? Finally is it possible to then delete temp table in same session or query
exec sp_columns table_name;
example
exec sp_columns employees;