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/a5/a51cbe1a298509a0c5562e3e916...

37 lines
1.6 KiB

USE [Vertragsverwaltung_20160404]
GO
/****** Object: UserDefinedFunction [dbo].[get_arbeitstage_old] Script Date: 02.12.2016 09:08:53 ******/
DROP FUNCTION [dbo].[get_arbeitstage_old]
GO
/****** Object: UserDefinedFunction [dbo].[get_arbeitstage_old] Script Date: 02.12.2016 09:08:55 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: <Author,,Name>
-- Create date: <Create Date, ,>
-- Description: <Description, ,>
-- =============================================
Create FUNCTION [dbo].[get_arbeitstage_old]
(
@jahr int,
@monat int
)
RETURNS float
AS
BEGIN
DECLARE @res int
SELECT @res = arbeitstage FROM jahrestabelle WHERE jahr=@jahr AND monat=@monat
RETURN @res
END
GO