Viewing 15 posts - 31 through 45 (of 84 total)
Thanks Craig, really great article about an issue that should concern all professionals. It is very frustrating to see some of the job ads, asking for a lot and trying...
April 14, 2011 at 3:28 am
First of all, I like any (correctly formulated) question that I cannot answer :-).
Particularly questions about less documented and/or unexpected behavior should be very useful. Usually we stumble upon these...
April 13, 2011 at 9:19 am
Nakul Vachhrajani (4/13/2011)
Duncan Pryde (4/13/2011)
Nakul Vachhrajani (4/13/2011)
Thank-you, Duncan for this wonderful series!You're welcome - although I'd hesitate to call 2 questions a series! Unless you're expecting more? :blink:
Definitely expecting more...
April 13, 2011 at 3:06 am
Hi,
I wouldn't bother too much about those non-selective queries. The only way to execute them is table scan and, I guess, hash join. Seems that cardinality isestimated right for the...
January 24, 2011 at 8:27 pm
Hi,
Maybe you already figured it out, otherwise Google gave me this nice article: Reading the SQL Server log files using T-SQL
Seems the key is to use xp_readerrorlog, the parameters are...
January 23, 2011 at 11:58 am
Hi,
There are a lot of discussions about table variable vs temporary table regarding efficiency. The conclusion is usually that testing should decide. Of course, the basic differences should be understood.
Here...
January 7, 2011 at 12:21 pm
Hi,
I don't quite understand what you want to accomplish, but to get cartesian products, you need to use CROSS JOIN.
Cheers
January 7, 2011 at 12:06 pm
That's an elegant solution, and as far as I can see it takes care of all possible combinations too.
Cheers
January 7, 2011 at 11:52 am
Hi,
If you use pre MSSQL 2008 version, here is an article that describes table data auditing: Audit data using SQL Server 2005's COLUMNS_UPDATED function
I have myself successfully used auditing this...
January 7, 2011 at 8:56 am
Hi,
My guess is that the product of the values is what you are after. I have modified the previous suggestion accordingly:
DECLARE @test-2 TABLE
(value1 INT,
value2 INT)
January 7, 2011 at 4:45 am
Hi,
I am sorry I misunderstood your problem. So what is the reason to duplicating rows? Is it some sort of version system?
Regards
Istvan
December 6, 2010 at 3:43 pm
PaulB-TheOneAndOnly (12/5/2010)
December 6, 2010 at 3:24 am
PaulB-TheOneAndOnly (12/4/2010)
GilaMonster (12/4/2010)
PaulB-TheOneAndOnly (12/3/2010)
Brigadur (12/3/2010)
Constraints can actually be used by the optimizer to speed up a query.Hope you are referring to Referential Integrity constraints.
Check and not null constraints can too.
mmmhhh......
December 4, 2010 at 5:03 pm
Hi,
The chain of related tables you mention means the following:
A
PK keyA
B
PK keyB
FK keyA
C
PK keyC
FK keyB
there PK means primary key and FK means a foreign key.
What is really the problem? Of...
December 4, 2010 at 4:18 pm
Hi,
Do you use backup?
Otherwise, if you use full(or bulk logged) recovery model you should setup a backup/recovery strategi.
You can begin with reading this: Backup Overview
To manage the log files you...
December 4, 2010 at 5:00 am
Viewing 15 posts - 31 through 45 (of 84 total)