Viewing 12 posts - 31 through 42 (of 42 total)
Thanks everyone for your help, but I am new to SQL so I maybe not getting across what I need, so apologies for that.
Below is my entire string, as you...
February 8, 2013 at 5:45 am
Hi Jason
Thanks for that, but I need to know how to add a sort to the SQL Code, not the query. It maybe me not making it clear and I...
February 8, 2013 at 5:21 am
Hi Gail
Thank you for your replies, however I have been tasked with making sure that the Month name is already ordered in Jan, Feb etc when query is made, so...
February 8, 2013 at 5:08 am
Hi Gail
Do you mean:
DATENAME(MONTH,@StartDate) AS CalendarMonth, <------ Add an ORDER BY Somewhere here
or actually on the query, because I have been asked to hardcode it in the code like I...
February 8, 2013 at 3:15 am
Morning All
Thanks for all your replies and help I just wanted to share with you the code that I have built which populates multiple columns and puts the Financial Month...
February 8, 2013 at 2:42 am
Hi Sean
Would it be possible to add a 0 in front of the first 9 numbers, would this make it easier?
Thanks
Wayne
February 7, 2013 at 9:44 am
Hi Lynn
Here is my query.
USE Occupancy
CREATE TABLE Time2
(Datedate not null,
CalendarYearint not null,
CalendarMonthvarchar (30) not null,
FinancialYearint not null,
FinancialMonthvarchar (30) not null)
DECLARE
@StartDate Date,
@EndDate Date
SET @StartDate = '01 Jan 2010'
SET...
February 7, 2013 at 9:15 am
I would like to say thank you for all you help, I have now created the table (the wrong way). And now have another task to complete (See other thread...
February 7, 2013 at 9:14 am
You're right about pain, he said I will give you a easy task first, I have been trying to figure this oout now for a day and a half. Anway...
February 7, 2013 at 4:08 am
Hi Jason
I have been on this now for hours and getting so frustrated, you mentioned yesterday about loops on another post I had but my boss wants me to use...
February 7, 2013 at 3:53 am
Hi Phil
Thanks for you replies, the calendar template option will be something I will use in the future but I would like to learn about loops. This is why I...
February 6, 2013 at 7:48 am
thanks for the quick replies, because I am learning I have decided to just populate the first column with a date say 01/01/2010 and then increase this in increments of...
February 6, 2013 at 7:19 am
Viewing 12 posts - 31 through 42 (of 42 total)