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/02/024de4afffa3cd202602ef7e557...

43 lines
3.0 KiB

USE [Vertragsverwaltung_20160404]
GO
/****** Object: StoredProcedure [dbo].[pr_Server_Weiteres_Backup_Loesung_SelectOne] Script Date: 02.12.2016 09:08:54 ******/
DROP PROCEDURE [dbo].[pr_Server_Weiteres_Backup_Loesung_SelectOne]
GO
/****** Object: StoredProcedure [dbo].[pr_Server_Weiteres_Backup_Loesung_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 'Server_Weiteres_Backup_Loesung'
-- based on the Primary Key.
-- Gets: @iServer_Weiteres_Backup_LoesungNr int
-- Returns: @iErrorCode int
---------------------------------------------------------------------------------
CREATE PROCEDURE [dbo].[pr_Server_Weiteres_Backup_Loesung_SelectOne]
@iServer_Weiteres_Backup_LoesungNr int,
@iErrorCode int OUTPUT
AS
SET NOCOUNT ON
-- SELECT an existing row from the table.
SELECT
[Server_Weiteres_Backup_LoesungNr],
[Bezeichnung],
[Beschreibung],
[Aktiv],
[Erstellt_am],
[Mutiert_am],
[Mutierer]
FROM [dbo].[Server_Weiteres_Backup_Loesung]
WHERE
[Server_Weiteres_Backup_LoesungNr] = @iServer_Weiteres_Backup_LoesungNr
-- Get the Error Code for the statement just executed.
SELECT @iErrorCode=@@ERROR
GO