SSRS_SESSION_CUR_ENR

The shared datasets used in reports
Post Reply
User avatar
robinwilson16
Site Admin
Posts: 184
Joined: Sun Oct 16, 2016 6:46 pm
Forename: Robin
Surname: Wilson
College Name: FEA
Position: MIS Consultant
LinkedIn Profile: https://www.linkedin.com/in/robinwilson16

SSRS_SESSION_CUR_ENR

Post by robinwilson16 » Mon Feb 20, 2017 5:58 pm

Current session for enrolments

Code: Select all

CREATE FUNCTION [dbo].[SSRS_SESSION_CUR_ENR] ()
RETURNS TABLE
AS
RETURN

SELECT 
	Code = SES.s_name, 
	Description = SES.s_name
FROM ulive.dbo.capd_session AS SES
WHERE
	SES.s_type = 'FY'
	AND SES.s_start <=  GetDate()
	AND SES.s_end >= GetDate()
Attachments
SSRS_SESSION_CUR_ENR.rsd
(785 Bytes) Downloaded 29 times

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests