Viewing 15 posts - 91 through 105 (of 541 total)
David Burrows (11/14/2014)
If so how do you determine which one?
If not then you do not need a sub...
November 14, 2014 at 8:22 am
pwalter83 (10/10/2014)
I am working on a report which has a combination of dropdownlist and user entered text parameters. As per the requirement, the values in the user entered text based...
October 14, 2014 at 2:25 am
ChrisM@Work (10/6/2014)
Do you...
October 6, 2014 at 4:47 am
ChrisM@Work (9/12/2014)
CREATE FUNCTION [dbo].[CountFractionalHolidays]
/*
Put in some explanatory notes here
*/
...
September 19, 2014 at 4:52 am
ChrisM@Work (9/12/2014)
CREATE FUNCTION [dbo].[CountFractionalHolidays]
/*
Put in some explanatory notes here
*/
...
September 15, 2014 at 6:25 am
ChrisM@Work (9/12/2014)
-- Following on from the last post, here's the same query as above with a couple of amendments.-- Firstly, I've put the remaining filters into place, the two...
September 12, 2014 at 7:29 am
ChrisM@Work (9/12/2014)
2. The 2nd scenario is the issue I am having which is not covered by the function.
If the start date is on a saturday (Sept...
September 12, 2014 at 7:18 am
ChrisM@Work (9/12/2014)
Can you amend that post to use a 24-hour clock please?
I have amended the post to use 24 hr clock. Hope it seems okay now.
Thanks.
September 12, 2014 at 5:52 am
Not really.
If Saturday doesn’t count if it’s after 11.30pm, does it count if it’s 1am? At what point exactly does it change from counting (because it’s 1am and...
September 12, 2014 at 5:41 am
ChrisM@Work (9/12/2014)
September 12, 2014 at 4:24 am
ChrisM@Work (9/12/2014)
USE TEMPDB/*
CREATE TABLE MG_COUNTRY([COUNTRY_CD] [varchar](2) NOT NULL,[COUNTRY_DSC] [varchar](35) NOT NULL)
INSERT INTO MG_COUNTRY VALUES ('GB','United Kingdom')
CREATE TABLE [dbo].[MG_BANK_CALENDAR](
[COUNTRY_CD] [varchar](2) NOT NULL,
[BUSINESS_DT] [datetime] NOT NULL,
[BUSINESS_TYPE_FLG] [char](1) NOT NULL,
[DELETED_FLG] [char](1) NULL,
CONSTRAINT [PK_MG_BANK_CALENDAR]...
September 12, 2014 at 2:58 am
Paul, you find this type of work very difficult or you wouldn’t be asking for help on a forum. I find it extremely easy – so much so that I...
September 11, 2014 at 10:11 am
the lag should be 1 (rounded off)
and that too in decimal format
ignoring the half an hour afterwards
it just takes the date part into consideration and not the time
I hope I...
September 11, 2014 at 9:14 am
ChrisM@Work (9/11/2014)
"Number of holidays for country between dates", the name of the function, gives the game away. Are there any holidays which don't last a full day? If there...
September 11, 2014 at 7:55 am
David Burrows (8/26/2014)
pwalter83 (8/26/2014)
Actually this worked superbly well for the OP ! I had been stuck on this for a long time now and had given up all hope
You're welcome...
August 26, 2014 at 9:41 am
Viewing 15 posts - 91 through 105 (of 541 total)