VIJAY BLOGS ON SQL
Monday, December 13, 2010
Temporary table dropping
IF EXISTS
(
SELECT *
FROM tempdb.dbo.sysobjects
WHERE ID = OBJECT_ID(N'tempdb..#temp1')
)
BEGIN
drop table #temp1
END
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)