Viewing 15 posts - 37,966 through 37,980 (of 59,098 total)
Stanley Chan (6/23/2010)
Jeff Moden (6/22/2010)
stephen.burke (6/14/2010)
MAPS from Microsoft is the best way to record all such info in a database for you, plus a ncie report and excel spreadsheet.
In order...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 23, 2010 at 6:14 am
stephen.burke (6/14/2010)
MAPS from Microsoft is the best way to record all such info in a database for you, plus a ncie report and excel spreadsheet.
In order to produce the inventory...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2010 at 4:03 pm
daveb-840383 (6/22/2010)
What I'm trying to do is get a total hourly count, not...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2010 at 3:55 pm
YSLGuru (6/21/2010)
Wow Tom, you really need to whip up on this guy bad ey?
It my be just me but it doesn't look that way to me. Gaby cited some...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 22, 2010 at 7:18 am
Eugene Elutin (6/19/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 21, 2010 at 10:52 am
Ya know... after I got done tweaking my code, except for the way we gen the dates, the code came out nearly identical as your latest tweek. I'll also...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 19, 2010 at 10:02 am
Eugene Elutin (6/19/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 19, 2010 at 8:44 am
Greg Edwards-268690 (6/18/2010)
WayneS (6/18/2010)
Wednesday, I updated a test box to SQL 2008. Pretty old (> 9 years)...
Last night, the drive controller failed spectacularly (sparks, smoke, everything), completely corrupting...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2010 at 9:11 pm
Nadrek (6/18/2010)
Different styles are different styles, neither good nor bad:SELECT a.c1
,a.c2
,b.c1
FROM db.schema.tbla a
INNER JOIN db.schema.tbla b
ON b.col1 = a.col1
AND a.col2 = b.col2
Heh... well, except for maybe that leading...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2010 at 9:03 pm
Scott is correct. The code I posted has no checks for whole days nor even whole hours.
If your code is passing the start date as a legal...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2010 at 6:44 pm
WayneS (6/18/2010)
Dan.Humphries (6/18/2010)
Actually before I read your article I must admit I gave very little thought to set based programming at all.
Now, this here is a man that isn't afraid...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2010 at 5:01 pm
Eugene Elutin (6/18/2010)
Here is my first attempt:
declare @periodStart datetime
declare @periodEnd datetime
-- they must be inside of the same day!!!!
set @periodStart = '20100601'
set @periodEnd = '2010-06-10 23:59:59.000'
declare @givendate datetime
set...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2010 at 4:52 pm
Dan.Humphries (6/18/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2010 at 2:11 pm
TheSQLGuru (6/18/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2010 at 1:02 pm
Agreed... both formatting and appropriate commenting are essential ingredients to good code.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2010 at 6:51 am
Viewing 15 posts - 37,966 through 37,980 (of 59,098 total)