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.
92 lines
6.4 KiB
92 lines
6.4 KiB
USE [Vertragsverwaltung_20160404]
|
|
GO
|
|
/****** Object: StoredProcedure [dbo].[pr_Applikation_SelectOne] Script Date: 02.12.2016 09:08:54 ******/
|
|
DROP PROCEDURE [dbo].[pr_Applikation_SelectOne]
|
|
GO
|
|
/****** Object: StoredProcedure [dbo].[pr_Applikation_SelectOne] Script Date: 02.12.2016 09:08:54 ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
|
|
|
|
|
|
---------------------------------------------------------------------------------
|
|
-- Stored procedure that will select an existing row from the table 'Applikation'
|
|
-- based on the Primary Key.
|
|
-- Gets: @iApplikationNr int
|
|
-- Returns: @iErrorCode int
|
|
---------------------------------------------------------------------------------
|
|
CREATE PROCEDURE [dbo].[pr_Applikation_SelectOne]
|
|
@iApplikationNr int,
|
|
@iErrorCode int OUTPUT
|
|
AS
|
|
SET NOCOUNT ON
|
|
-- SELECT an existing row from the table.
|
|
SELECT
|
|
[ApplikationNr],
|
|
[Bezeichnung],
|
|
[ParentID],
|
|
[ApplikationVerantwortungNr],
|
|
[ApplikationKategorieNr],
|
|
[ApplikationTeamnr],
|
|
[Marktbereichnr],
|
|
[Version],
|
|
[AlsProdukt],
|
|
[NurLizenz],
|
|
[PrioWiederanlauf],
|
|
[Kurzbeschreibung],
|
|
[Inaktivseit],
|
|
[RAS],
|
|
[Datenbankname],
|
|
[Anzahl_Installationen],
|
|
[Test_Aufwand],
|
|
[Test_Arbeitsplaetze],
|
|
[Test_Abhaengigkeiten],
|
|
[Test_Bemerkung],
|
|
[TicketXPertVerwendung],
|
|
[TicketXPert_WPIAnzeigen],
|
|
[TicketXPert_Preis],
|
|
[TicketXPert_Preis_Einmalig],
|
|
[TicketXPert_AMAnzeigen],
|
|
[TicketXPert_ApplikationKritikalitaetTypNr],
|
|
[TicketXPert_ApplikationSMLTypNr],
|
|
[Aktiv],
|
|
[Erstellt_am],
|
|
[Mutiert_am],
|
|
[Mutierer],
|
|
[SecurityLevelNr],
|
|
[RfcBoardNr],
|
|
[SensitiveDaten],
|
|
[SensitiveDatenBemerkung],
|
|
[SensitiveDatenAdministriertdurch],
|
|
[SensitiveDatenUeberwachungBemerkung],
|
|
[SensitiveDatenUeberwachungPeriodizitaet],
|
|
[SensitiveDatenUserBemerkung],
|
|
[SensitiveDatenAnzahlComit],
|
|
[SensitiveDatenAnzahlExterne],
|
|
[Strukturelement],
|
|
[IKVBizRelevanzNr],
|
|
[IKVBizAusfalldauerNr],
|
|
[IKVBIZBemerkung],
|
|
[IKVProviderVereinbart],
|
|
[IKVProviderAussfalldauerNr],
|
|
[IKVProviderBemerkung],
|
|
[IKVLoesungNr],
|
|
[IKVLoesungBemerkung],
|
|
[FachlicheOe],
|
|
[TicketXPert_ITSPProduktnr],
|
|
[IntranetBezeichnung],
|
|
[VerwendungIntragnet],
|
|
[IntranetObligatorisch],
|
|
[Erstloesungsquote]
|
|
FROM [dbo].[Applikation]
|
|
WHERE
|
|
[ApplikationNr] = @iApplikationNr
|
|
-- Get the Error Code for the statement just executed.
|
|
SELECT @iErrorCode=@@ERROR
|
|
|
|
|
|
|
|
GO
|