create table #t(dbname sysname, f1 float, f2 float, f3 int) insert #t exec('dbcc sqlperf(logspace)') select * from #t drop table #t