Quantcast
Channel: Questions in topic: "calendar"
Browsing all 26 articles
Browse latest View live
↧

Obtaining the Number of working days in a month

What is the quickest/ most effective way in SQL Server of getting the number of working days in a Month (defining the number of working days as being the days monday-friday)

View Article


Adjust date to day-before if it is a holiday

We're having with one holiday schedule table. We have to pass a date parameter, if the date matches with holiday schedule the date should display previous date, if that also matches then date should be...

View Article


Calendar Report in SSRS/EXCEL showing the Employee Leave Plan

Hi , I have a table like tblEmployee EmployeeName(nvarchar(50)) LeaveDate (Date) Now i need to create a SSRS report or Excel showing the calendar view and the employee names against the dates when they...

View Article

Adding Values to a calander table

I need to add a workday value to a calander table The work day is YYYY### as a char 7 The ### is three digits but should not consider weekends for the workday so 2012-01-02 should = 2012001 then...

View Article

Calendar query

Hello every one I am trying to create a query for calendar month in the results window. My output should be like sun mon tue wed thu fri sat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23...

View Article


SSAS Time Intelligence Calculations

I am trying to develop the YTD growth, % amd Month over same month last year etc....in an SSAS Cube. The Dimension builds but i can not see any members of the dimension in the cube or Excel Does anyone...

View Article

get date

I need to write a function to return the required date. The function will allow two parameters one is date and noofdays, for the given date the no of days need to be added and the added date is...

View Article

To print a Calendar in sql server 2008

Hi , Below is the code i am using to get a calendar based on the year and month entered, I want a code like it should accept whichever month i give, like 200BC or 1000 year, is there any other code or...

View Article


To print a calendar without using Date functions

IF OBJECT_ID ('dbo.Calendar1') IS NOT NULL DROP PROCEDURE dbo.Calendar1 GO CREATE PROCEDURE [dbo].[Calendar1] ( @Month int, @Year int ) AS declare @startdateofMonthYear date, @EnddateofMonthYear Date...

View Article


print calendar in sql server 2008

CREATE PROCEDURE [dbo].Calendar1 --4,1991 ( @month int, @Year int ) AS BEGIN declare @startdateofMonthYear date, @EnddateofMonthYear Date if (@month >12) BEGIN Print 'Enter a valid month' END if...

View Article

Obtaining the Number of working days in a month

What is the quickest/ most effective way in SQL Server of getting the number of working days in a Month (defining the number of working days as being the days monday-friday)

View Article

Adjust date to day-before if it is a holiday

We're having with one holiday schedule table. We have to pass a date parameter, if the date matches with holiday schedule the date should display previous date, if that also matches then date should be...

View Article

Calendar Report in SSRS/EXCEL showing the Employee Leave Plan

Hi , I have a table like tblEmployee EmployeeName(nvarchar(50)) LeaveDate (Date) Now i need to create a SSRS report or Excel showing the calendar view and the employee names against the dates when they...

View Article


Adding Values to a calander table

I need to add a workday value to a calander table The work day is YYYY### as a char 7 The ### is three digits but should not consider weekends for the workday so 2012-01-02 should = 2012001 then...

View Article

Calendar query

Hello every one I am trying to create a query for calendar month in the results window. My output should be like sun mon tue wed thu fri sat 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23...

View Article


SSAS Time Intelligence Calculations

I am trying to develop the YTD growth, % amd Month over same month last year etc....in an SSAS Cube. The Dimension builds but i can not see any members of the dimension in the cube or Excel Does anyone...

View Article

get date

I need to write a function to return the required date. The function will allow two parameters one is date and noofdays, for the given date the no of days need to be added and the added date is...

View Article


To print a Calendar in sql server 2008

Hi , Below is the code i am using to get a calendar based on the year and month entered, I want a code like it should accept whichever month i give, like 200BC or 1000 year, is there any other code or...

View Article

To print a calendar without using Date functions

IF OBJECT_ID ('dbo.Calendar1') IS NOT NULL DROP PROCEDURE dbo.Calendar1 GO CREATE PROCEDURE [dbo].[Calendar1] ( @Month int, @Year int ) AS declare @startdateofMonthYear date, @EnddateofMonthYear Date...

View Article

print calendar in sql server 2008

CREATE PROCEDURE [dbo].Calendar1 --4,1991 ( @month int, @Year int ) AS BEGIN declare @startdateofMonthYear date, @EnddateofMonthYear Date if (@month >12) BEGIN Print 'Enter a valid month' END if...

View Article
Browsing all 26 articles
Browse latest View live