Quantcast
Channel: Questions in topic: "calendar"
Browsing latest articles
Browse All 26 View Live
↧

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


Calendar Picker Question

I am wondering if anyone can tell me how I can get my parameter to render as a calendar as opposed to a list of dates based on my SQL statement. I have a dataset that has the last 90 days. If I create...

View Article

How to find interval in days,week or days month or days

I have to find the total no of month, days or month, weeks or weeks days or only days on the basis of interval between start and end date which user gives the input. Like if `the interval between two...

View Article

need help in stored procedure for calendar days

I have to find the total no of month, days or month, weeks or weeks days or only days on the basis of interval between start and end date which user gives the input. Like if `the interval between two...

View Article

How do I create a row for each hour between a time range

I need to create a census table where I have a row for each hour between start and end times. I created a temporary table to get the start and end time and then a cte with a union to get each hour...

View Article


DENSE_RANK ranking count problem

[link text][1]Good day, I am trying to a dd a column to our calendar tally table,with the week of the month number. I am using DENSE_RANK() OVER(PARTITION BY [ISO_Month#] ORDER BY [ISO_Week#]) AS...

View Article

How to Populate Fiscal Day In Year Value

I am trying to populate my fiscal day in year value. My fiscal year starts on March 1, 2XXX and ends on the last day of February. When populating the calendar day in a year, that was pretty...

View Article

Browsing latest articles
Browse All 26 View Live