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/d0/d08c4fe9f595353a7fd31a8b1e8...

29 lines
2.2 KiB

USE [Vertragsverwaltung_20160404]
GO
/****** Object: StoredProcedure [dbo].[pr_sla_selectall_active] Script Date: 02.12.2016 09:08:54 ******/
DROP PROCEDURE [dbo].[pr_sla_selectall_active]
GO
/****** Object: StoredProcedure [dbo].[pr_sla_selectall_active] Script Date: 02.12.2016 09:08:54 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
---------------------------------------------------------------------------------
-- Stored procedure that will select all rows from the table 'rolle_sysadminfunktion'
-- Returns: @iErrorCode int
---------------------------------------------------------------------------------
Create PROCEDURE [dbo].[pr_sla_selectall_active]
AS
SET NOCOUNT ON
SELECT dbo.SLA.SLANr, dbo.SLATyp.Bezeichnung + ' | ' + dbo.SLASubTyp.Bezeichnung AS SLA
FROM dbo.SLA INNER JOIN
dbo.SLATyp ON dbo.SLA.SLATypNr = dbo.SLATyp.SLATypNr INNER JOIN
dbo.SLASubTyp ON dbo.SLA.SLASubTypNr = dbo.SLASubTyp.SLASubTypNr
where sla.aktiv=1
ORDER BY dbo.slatyp.bezeichnung, slasubtyp.bezeichnung
GO