USE [Vertragsverwaltung_20160404] GO /****** Object: StoredProcedure [dbo].[my_security_delete] Script Date: 02.12.2016 09:08:54 ******/ DROP PROCEDURE [dbo].[my_security_delete] GO /****** Object: StoredProcedure [dbo].[my_security_delete] Script Date: 02.12.2016 09:08:54 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: -- Create date: -- Description: -- ============================================= CREATE PROCEDURE [dbo].[my_security_delete] @key INT, @mutierer int AS BEGIN UPDATE dbo.SecurityObject SET aktiv=0, mutierer=@mutierer,Mutiert_am=GETDATE() WHERE securityobjectnr=@key END GO