Viewing 15 posts - 316 through 330 (of 331 total)
If you can spot several things you would change, then please let us know. It's not about having an argument, it's about learning, and if you have a good method,...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
December 24, 2008 at 5:44 am
Having modified that script a bit, and run it on my server - the time was 23.078 secs. Improved, certainly, but not better.
SET NOCOUNT ON
declare @query varchar(100), @id int
DECLARE @muchWorseProblem...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
December 24, 2008 at 4:35 am
As you can see in the image below, while the actual allocation/deallocation of the cursor doesn't have much of an impact, the inefficient way the query is executed is what...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
December 24, 2008 at 3:00 am
GilaMonster (9/23/2008)
In the tests I did, I was very, very careful that the inserts, the updates and the deletes affected different pages.
Yeah - i was just editing my post to...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
September 23, 2008 at 2:50 am
Chirag (9/23/2008)
If that's so,...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
September 23, 2008 at 2:47 am
I would say the conclusion is a bit of an understatement - with 5 snapshots the graphs show performance degradation of 500% at best, and 5000% at worst...
Put another way,...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
September 23, 2008 at 2:21 am
CREATE TABLE [temporaryTable]...
LOL
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
June 6, 2008 at 7:53 am
Matt Miller (5/30/2008)
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
May 30, 2008 at 8:48 am
JohnG (5/30/2008)
And before you discount the article, you may...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
May 30, 2008 at 8:09 am
And another typical post thinking you're amazing and that we're all idiots.
Of course it's going to be useful for enforcing duplicate checking, if you're inserting duplicates in there in the...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
May 30, 2008 at 7:24 am
JohnG (5/30/2008)
4. Related to the above and "why would you create a PK on a table variable?"
Often enough. In the case of my delimited values pivot function, for...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
May 30, 2008 at 6:57 am
Mark (5/30/2008)
> You can't create an index on a table variableBut you can do this...
declare @t table(x int not null primary key clustered)
Yeah, but it's pretty rare that the data...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
May 30, 2008 at 4:56 am
Ok - bit of myth busting
1) Table Variables outperform Temporary Tables
This is not necessarily true. You can't create an index on a table variable, and if you are dealing with...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
May 30, 2008 at 4:35 am
I agree totally. And, to be honest, I think the separation of user/schema makes it even more complicated in sql server 2005. So you could have users a, b &...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
May 15, 2008 at 2:28 am
I have to say, this 'solution' is actually worse than having a cursor. It would have the same performance implications (because the reason cursors are 'bad' is because row based...
Atlantis Interactive - SQL Server Tools
My blog[/url]
Why I wrote a sql query analyzer clone
January 2, 2008 at 3:40 am
Viewing 15 posts - 316 through 330 (of 331 total)