Viewing 10 posts - 1 through 10 (of 10 total)
Thank you all for taking the time to answer this.
This is what ended doing:
SELECT Location,startdate,enddate,
SiteList = (SELECT ',' + Site FROM tblsiteSchedule...
August 9, 2017 at 2:13 pm
Thanks all for your reply.
Group by won't work you're still pulling all four records.
The second option, I would have to do it for every single record. Just...
August 3, 2017 at 3:55 pm
Thank you very much for your response.
The table that I'm working with doesn't have dates.
I tried your example "as is",
I created the function and then run the code below
[/center]
--...
November 7, 2015 at 7:15 am
2015-10-01 to 2015-10-10 ---this will be week 1 for FY16, but it's recorded as 2015-41
2015-10-11 to 2015-10-17 ---this will be week 2 for FY16, but it's recorded as 2015-42
2015-10-18 to...
November 6, 2015 at 7:42 pm
Thanks for your reply.
None of the dates will define week 1 for FY16
here are the definitions:
2015-10-01 to 2015-10-10 ---this will be week 1 for FY16, but it's recorded as 2015-41
2015-10-11...
November 6, 2015 at 2:49 pm
First week starts at week 40, which is week 1 of the fiscal year
November 6, 2015 at 1:55 pm
Week starts on sunday and on saturday.
Fiscal year starts October 1.
Thanks
November 6, 2015 at 1:51 pm
Thanks for the reply. I can't do changes to database. Change requests take very long for approval and implementation.
November 6, 2015 at 11:42 am
Did anybody find the answer for this issue?
I unchecked the "Grant" next to the "sa" under the "Permissions" for the public server role. Now everytime I click on Permissions, I...
June 23, 2009 at 2:43 pm
Oops...Thank you very much! that did the trick!
Why cursor? cursors seem to do what i need...
Thanks again for the prompt response
June 5, 2008 at 2:13 pm
Viewing 10 posts - 1 through 10 (of 10 total)