Viewing 15 posts - 31 through 45 (of 73 total)
matt stockham (9/2/2009)
rja.carnegie (9/2/2009)
Why doesn't "SELECT COUNT(*) FROM table" look at an index, which apparently it doesn't(?)It should pick the smallest index (by page reads).
The ESTIMATED execution plan says it's...
September 3, 2009 at 3:57 am
I find the report of DBCC CHECKDB useful.
Why doesn't "SELECT COUNT(*) FROM table" look at an index, which apparently it doesn't(?)
September 2, 2009 at 8:34 am
jacroberts (8/25/2009)
August 31, 2009 at 9:34 am
Lynn Pettis (8/24/2009)
August 31, 2009 at 9:16 am
Jim in Arizona (8/20/2009)
A floating point integer? I think you might need a stronger drink, Jim... [Tongue]
Yea, it's not my day, let me tell ya. It sounded good though....
August 24, 2009 at 2:30 am
Andy DBA (8/18/2009)
For example:
WHERE somecol NOT IN (1,2, NULL)
is equivalent to
WHERE NOT (somecol = 1 OR somecol = 2 OR somecol = NULL)
Wait, isn't that backwards? IN...
August 24, 2009 at 2:25 am
Re SET and SELECT, is there a realistic scenario OTHER than capturing previous statement's @@ERROR and @@ROWCOUNT where a single statement must be used? I think it's the only...
August 20, 2009 at 10:31 am
I repeatedly forgot that the point of the article was performance - assume that processing of IPv4 address data is critical, how do you best store it?
Processing is likely to...
August 20, 2009 at 8:55 am
Mark Horninger (8/20/2009)
Probably should use SET vs. SELECT. Think I saw that as being deprecated, but I might be wrong?
I was on that in another discussion. It doesn't...
August 20, 2009 at 7:26 am
How about if you do a two-stage conversion - from octets to binary(4), and then CAST to int? Does that hold the same 4 bytes internally? Does that...
August 20, 2009 at 7:10 am
lhowe (8/19/2009)
August 19, 2009 at 8:52 am
Cliff Jones (8/19/2009)
August 19, 2009 at 8:16 am
Is there a way to specify a constant date/time that isn't
" SET @date = '2009-08-19' " ?
(Or "CONVERT" from the date encoding of your choice, I suppose.
Or "SET...
August 19, 2009 at 7:42 am
Well, since you want a live application database to have no CHECKDB faults, and the recommended way to remove faults is to restore... Of course you can rename the...
August 19, 2009 at 2:55 am
Paul Randal (8/18/2009)
rja.carnegie (8/18/2009)
CHECKDB comes with the rather discouraging advice that you should address any errors by dropping the database and restoring from a good backup
No it doesn't - can...
August 18, 2009 at 10:25 am
Viewing 15 posts - 31 through 45 (of 73 total)