SSRS_SESSION_CUR_APP

The shared datasets used in reports
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
robinwilson16
Site Admin
Posts: 185
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
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

SSRS_SESSION_CUR_APP

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

Default session for applications:

Code: Select all

CREATE FUNCTION [dbo].[SSRS_SESSION_CUR_APP] ()
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 <=  DATEADD ( year, +1, GetDate() )
	AND SES.s_end >= DATEADD ( year, +1, GetDate() )
Attachments
SSRS_SESSION_CUR_APP.rsd
(785 Bytes) Downloaded 162 times

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest