SQL SERVER | If Exists nelle versioni 2008 e 2008R2
---SQL Server 2008--- IF OBJECT_ID(N'.', N'P') IS NOT NULL DROP PROCEDURE . GO ---SQL Server 2008 R2--- IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID('.') AND type in…
Appunti, stralci di programmazione e altro
---SQL Server 2008--- IF OBJECT_ID(N'.', N'P') IS NOT NULL DROP PROCEDURE . GO ---SQL Server 2008 R2--- IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID('.') AND type in…