Viewing 15 posts - 376 through 390 (of 463 total)
jeff.williams3188 (2/5/2008)
Just one other note: In SQL Server 2005 the system stored procedure 'sp_updatestats' has been improved to only update statistics on tables that have been modified.
Do you have any...
February 5, 2008 at 10:24 pm
In general it isn't a good idea to put non-selective columns first as the optimizer might just decide to ignore them .... but if its say 99% vs 1% on...
February 4, 2008 at 12:25 pm
Do any of the books mentioned above dig deep into the innards of Oracle, along the lines of the Inside SQL Server series? I will probably need to re-port...
February 4, 2008 at 12:09 pm
When you use two part naming (prod.A in your example) SQL thinks that "prod" is a reference to a schema. Use three part naming : [databasename].[schemaname].[tablename]
For your purposes, it's...
February 4, 2008 at 11:45 am
You may want to look at forcing the query to recompile each time it executes (either through proc level or statement level recompile option).
January 31, 2008 at 12:42 pm
Regarding the second item, the optimizer is smart enough to know what to look for so that it won't check unnecessary items. I believe that you may get a...
January 30, 2008 at 11:02 pm
You should investigate DDL triggers - search on that and you will find that what you are trying to do is often given as an example of their usage. ...
January 30, 2008 at 10:30 pm
I have a better understanding now. My DW knowledge is effectively none so I can't comment on how suitable the table structures are, but in terms of space I...
January 29, 2008 at 11:19 am
Is this on the marked-for-deprecation list for 2K8 (meaning it won't happen until 2K11) ?
January 29, 2008 at 9:06 am
You are correct in that SQL_VARIANT will store most datatypes, but you cannot take a SUM of the values without converting them. I put together a quick script:
CREATE TABLE...
January 29, 2008 at 9:01 am
Well you wouldn't be able to sum a variant column either. The CLR type would help in that it could internally figure out the type based on a ruleset,...
January 28, 2008 at 9:15 pm
An interesting read ...
In short, there potentially is a benefit to doing this even on a single disk ... but most databases aren't even close to meeting...
January 28, 2008 at 6:11 pm
A CLR UDT might work here. In terms of reading back the information, ToString() could return the value in a consistent format which might make it easier to process....
January 25, 2008 at 10:57 pm
I'm not sure on how much difference it would make, but SQL2005 fragmentation stats are more accurate than SQL2000, and by accurate I mean higher .... http://msdn2.microsoft.com/en-us/library/ms189858.aspx.
Unless I've...
January 25, 2008 at 10:18 pm
I haven't made it to trying 2008 yet, but I would guess that there may be some kind of benefit from reduced locking (depending on the isolation level and the...
January 24, 2008 at 10:47 pm
Viewing 15 posts - 376 through 390 (of 463 total)