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/e1/e17d4a7c3d9433252ca0d81f29e...

47 lines
2.7 KiB

USE [Vertragsverwaltung_20160404]
GO
/****** Object: StoredProcedure [dbo].[pr_ApplikationVersion_SelectAll_Bottomtable] Script Date: 02.12.2016 09:08:54 ******/
DROP PROCEDURE [dbo].[pr_ApplikationVersion_SelectAll_Bottomtable]
GO
/****** Object: StoredProcedure [dbo].[pr_ApplikationVersion_SelectAll_Bottomtable] Script Date: 02.12.2016 09:08:54 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
---------------------------------------------------------------------------------
-- Stored procedure that will select all rows from the table 'Applikationabhaengigkeit'
-- Returns: @iErrorCode int
---------------------------------------------------------------------------------
Create PROCEDURE [dbo].[pr_ApplikationVersion_SelectAll_Bottomtable]
@iErrorCode int OUTPUT,
@Fokus int,
@KeyValue int,
@mitarbeiternr int
AS
SET NOCOUNT ON
SET NOCOUNT ON
-- SELECT all rows from the table.
SELECT
[ApplikationVersionNr],
[ApplikationNr],
[Version],
[Bemerkung],
[Eingesetzt],
[aktiv],
[erstellt_am],
[mutiert_am],
[mutierer]
FROM [dbo].[ApplikationVersion]
where dbo.applikationversion.[ApplikationNr]=@keyvalue
--and dbo.Applikationabhaengigkeit.SecurityLevelnrin (select SecurityLevelNr from dbo.Get_SecurityLevelTab(@mitarbeiternr))
ORDER BY
[ApplikationVersionNr] ASC
SELECT @iErrorCode=@@ERROR
GO