Viewing 15 posts - 2,491 through 2,505 (of 5,590 total)
Linda 44925 (11/9/2010)
November 9, 2010 at 7:16 pm
SSSolice (11/9/2010)
The break scans are actually a single table. The actual table contains millions of rows with many scan-types (I just need the 3 and...
November 9, 2010 at 4:47 pm
GilaMonster (11/9/2010)
Craig Farrell (11/9/2010)
*lifts up rock, and cringes away from the sun* I can't get some of these clients off SQL 2k...
I know someone who's still forced to work...
November 9, 2010 at 4:30 pm
GilaMonster (11/9/2010)
I love Wayne's reply there (last page)
😀
November 9, 2010 at 4:27 pm
;WITH CTE1 AS
(
-- put the on/off breaks together, along with just the date of the break
SELECT AssociateGUID, ScanCode, ScanDateTime,
ScanDate = DateAdd(day, DateDiff(day,...
November 9, 2010 at 1:22 pm
rko.37gags (11/9/2010)
what is rid and T
They are aliases. One is for a table, one for a column.
November 9, 2010 at 12:55 pm
Marcus Farrugia (11/9/2010)
Actually no I don't, my knowledge of indexes in general is limited...
Marcus,
Let me try to simply explain.
An index is on multiple columns - in your case, EmpNum and...
November 9, 2010 at 12:47 pm
It appears that I didn't explain properly... the triggers should not need to be disabled. In fact, they are probably performing something that is expected to be happening. If you...
November 9, 2010 at 12:20 pm
No problem. Do you understand why the first method won't utilize the indexes?
November 9, 2010 at 12:03 pm
Wow. If my company was like that, I'd be running for the door.
November 9, 2010 at 12:02 pm
tmitchelar (11/9/2010)
Linda 44925 (11/9/2010)
I’ve never done any work with CTE’s before and I would very much appreciate it if you would give some more detailed explanations of why you changed...
November 9, 2010 at 11:58 am
Sachin.Nandanwar (11/9/2010)
bitbucket-25253 (11/9/2010)
SELECT DATEADD(mm,-3,DATEADD(day, 1, GETDATE()))As '3 months ago',GETDATE() AS 'Today',
DATEADD(day, 1, GETDATE()) AS 'Today plus 1 day'
Results:
3 months ago ...
November 9, 2010 at 11:49 am
Viewing 15 posts - 2,491 through 2,505 (of 5,590 total)