Viewing 15 posts - 976 through 990 (of 2,007 total)
Paul Morris-1011726 (2/1/2012)
Assuming your range is to be calculated within the query using GETDATE() as a reference, what would be the range start and end dates?
What I need to send...
February 1, 2012 at 9:29 am
ChrisM@home (2/1/2012)
Cadavre (2/1/2012)
WHERE date_received >= DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) - 1, 0) ANDdate_received < DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)
Too quick for me today...
February 1, 2012 at 9:23 am
HowardW (2/1/2012)
Steve Jones - SSC Editor (2/1/2012)
GSquared (2/1/2012)
HowardW (2/1/2012)
Not sure whether to call it spam or not, but most of his...
February 1, 2012 at 9:22 am
WHERE date_received >= DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) - 1, 0) AND
date_received < DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)
February 1, 2012 at 9:12 am
Sean Lange (1/31/2012)
SELECT
CAST(((DATEDIFF(minute,StartTime,EndTime) - BreakPeriod) / 60) AS VARCHAR(5)) + ':' +
LEFT(CAST(((DATEDIFF(minute,StartTime,EndTime)...
February 1, 2012 at 6:40 am
dinesh8804 (2/1/2012)
February 1, 2012 at 6:34 am
mic.con87 (2/1/2012)
Thanks very much!!! That was a lot simpler than I thought. Appreciate the help!!!
No problem.
If you need any help understanding it, try these great articles by Paul White: -
February 1, 2012 at 6:27 am
johnitech.itech (2/1/2012)
:hehe:Yes you should go to vb.net forum to match your questions ,but he reply you right
:w00t:
What has vb.net got to do with this question?
February 1, 2012 at 6:12 am
SELECT *
FROM #AF_Fraud_Jan_24 af
CROSS APPLY (SELECT COUNT(*) AS CountOfSOSCalls
FROM #StagingClaCases scc
...
February 1, 2012 at 6:08 am
I guessed the intention of the question correctly, this time, but we could do with a correction for those that didn't.
February 1, 2012 at 5:33 am
SSIS an option?
February 1, 2012 at 5:16 am
Not really a SQL question 😛
It has been a while since I did anything like this, but I think you need to suppress the error report.
for /f "tokens=1 delims=" %%b...
February 1, 2012 at 3:49 am
Viewing 15 posts - 976 through 990 (of 2,007 total)