Viewing 15 posts - 16 through 30 (of 41 total)
This works perfectly, Thank you all for your responses. 🙂
August 2, 2013 at 12:58 am
Select
jc.intJobCardId
,b.vchBarcodeas [Barcode]
,i.dteIncidentDateas [IncidentDate]
,ISNULL(ISNULL(p.nvcDisplayName, p2.nvcDisplayName), '')as [ServiceProvider]
,dteAssignedDateas [AssignedDate]
,dteCompletedDateas [CompletedDate]
,DATEDIFF(Hour, dteAssignedDate,dteCompletedDate) as [TimeToComplete]
,ISNULL(lb.TotalHours, 0)as [TotalHours]
,lb.TotalHours/DATEDIFF(Hour, dteAssignedDate,dteCompletedDate)as [Efficiency]
,''as [Productivity]
,l.vchLocation
,typ.vchType
From dtlIncident i
Inner Join dtlJobCard jc on i.uidId...
August 2, 2013 at 12:49 am
Thank you so much, this works perfectly 🙂
June 19, 2013 at 5:15 am
@kingston Dhasian, Thank you so much for the script that's returning the dates it works perfectly.
June 13, 2013 at 7:15 am
I need something like this but now its not grouping the months properly:
Select
MIN(DATENAME(MONTH, dtePostedToWebsiteDate))as MinMonth
,MIN(Year(dtePostedToWebsiteDate))as MinYear
From dtlVacancyPostAudit
Where bitPostToWebSite = 1
Group By dtePostedToWebsiteDate
Having dtePostedToWebsiteDate between MIN(dtePostedToWebsiteDate) And GETDATE()
This...
June 13, 2013 at 7:12 am
Thank you so much, it works perfectly 🙂
June 5, 2013 at 6:58 am
Thanks for the link and the example posted above works perfectly. 🙂
December 11, 2012 at 4:39 am
It works perfectly! Thank you so much. 🙂
December 6, 2012 at 11:08 pm
Thank you 🙂
November 14, 2012 at 2:18 am
Please show me the BCP example as well.
Thanks
November 14, 2012 at 1:59 am
I'd like to do it with the script as the stored proc wold be called from the application.
November 14, 2012 at 1:47 am
Thanks so much, I removed the spaces and corrected the syntax. It works perfectly.
🙂
November 6, 2012 at 5:12 am
here's the output:
<Data Extract><Graduates><Candidate><FirstName>Shaun</FirstName><LastName>Slabber</LastName></Candidate><Candidate><FirstName>paul</FirstName><LastName>devine</LastName></Candidate></Graduates><ExperiencedHires><Candidate><FirstName>paul</FirstName><LastName>devine</LastName></Candidate><Candidate><FirstName>Meera</FirstName><LastName>Bhana</LastName></Candidate></ExperiencedHires>/<Data Extract>
November 6, 2012 at 4:24 am
Thanks I have set the property to True already and it doesn't work, this seems to be working fine in Reporting services only when I export the setting is...
October 4, 2012 at 8:11 am
SELECT LEFT(SearchCol, LEN(SearchCol)-CHARINDEX('/',SearchCol)-1) AS LeftMost, RIGHT(SearchCol, LEN(SearchCol)-CHARINDEX('/',SearchCol)+1) AS RightMost
FROM MyTable WHERE CHARINDEX('/',SearchCol) > 0
--------------------------------------------------------------------
Thanks this works as well.
August 16, 2012 at 1:05 am
Viewing 15 posts - 16 through 30 (of 41 total)