#title 세션의 임시테이블명 리스트 {{{ --주의!!, 임시테이블명 끝에 '_'가 붙으면 안된다. select 1 as a into #dsfajflsdaf select left(name, charindex('______',name)-1) from tempdb..sysobjects where charindex('______',name) > 0 and xtype='u' and not object_id('tempdb..'+ name) is null }}}