Files
ITSM/.svn/pristine/c9/c9191c804388db34e7b4376e25b53c8480977980.svn-base
2021-04-20 09:35:24 +02:00

32 lines
1.7 KiB
Plaintext

USE [Vertragsverwaltung_20160404]
GO
/****** Object: StoredProcedure [dbo].[sp_lizenzkauf_inaktivieren] Script Date: 02.12.2016 09:08:53 ******/
DROP PROCEDURE [dbo].[sp_lizenzkauf_inaktivieren]
GO
/****** Object: StoredProcedure [dbo].[sp_lizenzkauf_inaktivieren] Script Date: 02.12.2016 09:08:55 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
create PROCEDURE [dbo].[sp_lizenzkauf_inaktivieren]
@vertragselementapplikationnr int,
@mutierer int
AS
BEGIN
update Lizenzkauf set Aktiv=0, Mutierer=@mutierer, Mutiert_am=GETDATE() where Aktiv=1 and vertragselementapplikationnr=@vertragselementapplikationnr
END
GO