You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ITSM/.svn/pristine/b3/b3870cb81095e16d7a520611f30...

30 lines
1.5 KiB

USE [Vertragsverwaltung_20160404]
GO
/****** Object: StoredProcedure [dbo].[dt_removefromsourcecontrol] Script Date: 02.12.2016 09:08:54 ******/
DROP PROCEDURE [dbo].[dt_removefromsourcecontrol]
GO
/****** Object: StoredProcedure [dbo].[dt_removefromsourcecontrol] Script Date: 02.12.2016 09:08:54 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
create procedure [dbo].[dt_removefromsourcecontrol]
as
set nocount on
declare @iPropertyObjectId int
select @iPropertyObjectId = (select objectid from dbo.dtproperties where property = 'VCSProjectID')
exec dbo.dt_droppropertiesbyid @iPropertyObjectId, null
/* -1 is returned by dt_droppopertiesbyid */
if @@error <> 0 and @@error <> -1 return 1
return 0
GO