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/65/65da4b08f0e8dd0caaccf70154e...

26 lines
1.6 KiB

USE [Vertragsverwaltung_20160404]
GO
/****** Object: StoredProcedure [dbo].[my_security_check_entry] Script Date: 02.12.2016 09:08:54 ******/
DROP PROCEDURE [dbo].[my_security_check_entry]
GO
/****** Object: StoredProcedure [dbo].[my_security_check_entry] Script Date: 02.12.2016 09:08:54 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
CREATE PROCEDURE [dbo].[my_security_check_entry]
@form varchar(255),
@objecttype varchar(255),
@object varchar(255),
@objectitem varchar(255),
@objexists int output
AS
SELECT SecurityForm, SecurityObjectType, SecurityObject, SecurityObjectItem, Aktiv
FROM dbo.SecurityObject
WHERE SecurityForm=@form and securityobjecttype=@objecttype and securityobject=@object and securityobjectitem=@objectitem and aktiv=1
set @objexists=@@rowcount
GO