Viewing 15 posts - 21,481 through 21,495 (of 26,490 total)
yulichka (4/15/2009)
Anyone knows how to fix this? Thank you
If I may, you may want to take a few minutes and read this: The Flip Side.
April 15, 2009 at 1:26 pm
yulichka (4/15/2009)
Anyone knows how to fix this? Thank you
Unfortunately, there is no context with regard to this error, so actually no, I can't tell you how to fix this.
April 15, 2009 at 1:23 pm
If sys.sp_reset_connection being executed by one application is causing your global temporary table to be dropped for another application, your other choice is to install a separate instance of SQL...
April 15, 2009 at 1:18 pm
I have an idea on why the difference between SQL Server 2000 and SQL Server 2005.
One SQL Server 2000, the database engine scanned Table2 once. On SQL Server 2005,...
April 15, 2009 at 11:24 am
Here are the statistics io and time results from mine and Chris's fast queries:
(7203 row(s) affected)
Table 'Table2'. Scan count 1, logical reads 168, physical reads 0, read-ahead reads 0, lob...
April 15, 2009 at 10:46 am
Query finished, ran 9 minutes 14 secods and returned 7203 rows. Some of the estimated rows are quite high, 9 B for one of them.
I have uploaded my actual...
April 15, 2009 at 10:39 am
Chris, Nevermind. I found your post above.
The second query, even with OPTION (MAXDOP 1), is pegging my Dual Proc Quad Core system.
The first query ran extremely fast. I...
April 15, 2009 at 10:30 am
Christopher Stobbs (4/15/2009)
Ok with the following query I can confirm that on 200 it takes milliseconds and in 2005 it takes well over 5 minutes and...
April 15, 2009 at 10:11 am
Rowan (4/15/2009)
Thanks Lynn, i will try that asapI did try your query where you use 'except'
This did cut the running time down quite a bit
Not really sure what "quite...
April 15, 2009 at 10:04 am
Here is some code for you to examine and play with. I hope it helps.
declare @StartDate datetime,
@EndDate datetime;
select
...
April 15, 2009 at 9:59 am
You indicate an end date in your original post, but I don't see that in your test data. How is this determined or is it passes as a parameter?
Your...
April 15, 2009 at 9:30 am
This may be counter-intuitive. on SQL Server 2005, add this to the end of your query: OPTION (MAXDOP 1)
I would still like you to try my other SQL Server 2005...
April 15, 2009 at 9:02 am
Thomas (4/15/2009)
I stand corrected. Cross joining on syscolumns does appear to be a bit faster. Perhaps this is one loop based solution that now has a reasonable set-based solution.
Take...
April 15, 2009 at 8:56 am
Using just the first 2 or 3 values in your test data, could you please provide us with the expected output from the process? This will greatly assist in...
April 15, 2009 at 8:44 am
Rowan (4/15/2009)
Lynn Pettis (4/15/2009)
Can you tell me more about the configuration of the server all of this is running on?
Its a Windows Server 2003 server SP2
Microsoft SQL Server 2005 -...
April 15, 2009 at 8:37 am
Viewing 15 posts - 21,481 through 21,495 (of 26,490 total)