Viewing 15 posts - 36,166 through 36,180 (of 59,067 total)
SwePeso (10/31/2010)
Table 'Worktable'. Scan count 1, logical reads 1, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0,...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2010 at 10:34 am
WayneS (10/30/2010)
Jeff Moden (10/30/2010)
Ya beat me to it by a long shot. Well done.
Thanks. I've got just five words to say... "SQL Server MVP Deep Dives[/url]"
Oddly enough, I just...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2010 at 10:17 am
SwePeso (10/30/2010)
Kevin Bullen (10/30/2010)
If the cursor iterates 1000 times, are 1000 instances of a table created, or is the same instance released and recreated.
Neither.
SQL Server is smart enough to move...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2010 at 10:12 am
SwePeso (10/31/2010)
I think Jeff means extending date ranges.If you have three date ranges
20100101-20100630, 20100515-20100930 and 20100928-20101010,
the end result is 20100101-20101010.
That would be a separate article I was going to work...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2010 at 10:07 am
WayneS (10/30/2010)
Jeff - what do you mean by "overlapping" dates, and how does this differ from determining gaps/islands?(If it's different, we probably ought to add one for each of those.)
It's...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2010 at 10:02 am
Kevin Bullen (10/30/2010)
In reviewing code written by a contractor, they declare a table variable inside a cursor, but it is never used. The cursor itself can...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 3:30 pm
Ya beat me to it by a long shot. Well done.
Oddly enough, I just wrote an "SQL Spackle" on the same subject.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 3:09 pm
@david-2 Ziffer
I have a question based on the following snippet from the article...
The reader may question why the application should pass the audit date at all; why not just have...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 9:13 am
RobertYoung (10/29/2010)
ron.buchanan.us (10/29/2010)
careusa2003 (10/29/2010)
I would not touch this design with a 10-foot pole.
If you are going to insult a design of which you know little about, at least elaborate. I...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 8:58 am
viky2010 (10/29/2010)
Example
viky, 20-10-2009
raj ,29-09-2006
kiran,09-09-2005
maximum date is 20-10-2009
So only viky and 20-10-2009 rows...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 8:49 am
I certainly could be wrong but, from the following entry in the log you posted, it looks like something may be starting up on the server BEFORE SQL Server...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 8:41 am
GilaMonster (10/29/2010)
p.s. The last integrity check of any of these databases was almost 2 years ago. You like living dangerously?
That actually brings up a good subject. Do you happen...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 8:09 am
PaulB-TheOneAndOnly (10/29/2010)
Don't put in your resume anything that can be used against you or better rephrasing it: don't lie to the extend that your CV is your death warrant.
Or, as...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 7:52 am
GilaMonster (10/29/2010)
Alvin Ramard (10/29/2010)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 7:49 am
Nah... I've seen your code on other threads. I just got lucky here. If the data had 5 elements, our code would have been a whole lot more...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2010 at 7:46 am
Viewing 15 posts - 36,166 through 36,180 (of 59,067 total)