Thursday, December 18, 2008

How to check whether temp table exist

if object_id('tempdb..##temptblname') is not null
drop table ##temptblname



No comments:

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.