IF EXISTS ( SELECT * 
            FROM   sysobjects 
            WHERE  id = object_id(N'[dbo].[sproc_PROP1_SurfaceGallery_AddNewVideo]') 
                   and OBJECTPROPERTY(id, N'IsProcedure') = 1 )
BEGIN
    DROP PROCEDURE [dbo].[sproc_PROP1_SurfaceGallery_AddNewVideo]
END
