Tuesday, February 12, 2013

SQL Server Check --- IF Exists


IF EXISTS(SELECT * FROM tempdb.dbo.sysobjects WHERE ID = OBJECT_ID(N'tempdb..#temp_det_for_mst'))
BEGIN
DROP TABLE #temp_det_for_mst
END

No comments:

What Does a Software Engineer Actually Do in 2026?

What Does a Software Engineer Actually Do in 2026? Introduction The role of a software engineer has significantly evolved over the p...