sql server - How to get count of columns on temp table -
select * information_schema.columns
shows columns of tables except temp tables. how can temp tables columns, aggregate table name , count them ?
create table #t ( x int, y int ) select * tempdb.sys.columns object_id = object_id('tempdb..#t')
Comments
Post a Comment