Viewing 15 posts - 18,661 through 18,675 (of 22,219 total)
This is the second time this exact question has been posted:
http://www.sqlservercentral.com/Forums/Topic640498-1291-1.aspx
No answers to the questions, no further interaction at all. I wouldn't be surprised to see it again in two...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 10:35 am
First, a question, you're moving 1.8 million rows out of the EventInformation_rob table. How many rows total are in the table? If you're moving most of the table, you're going...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 8:11 am
I'd suggest getting a copy of the book "Database Administration" by Craig Mullins. It's not technical and it doesn't focus on SQL Server at all. Instead it talks about the...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 7:54 am
Kent Waldrop (1/21/2009)
The same question was posted here:http://www.sqlservercentral.com/Forums/Topic639228-145-1.aspx
You responded to that post also.
I thought I remembered seeing that before.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 7:41 am
george sibbald (1/21/2009)
Grant Fritchey (1/21/2009)
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 7:06 am
True.
And one other thing I just thought of, your clustered index is a part of the covering index even though you can't see it.
Assume that ID is the clustered index....
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 7:05 am
Statistics are enough the same between the versions that you don't really need to worry about them too much.
The only way to create a covering index in 2000 was to...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 6:41 am
The overwhelming majority of our production systems are 2000. We're starting an initiative this year to get them upgraded to 2008 over the next two years because, in 2010, extended...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 6:30 am
How does table 3 relate to the others?
Also, didn't this get posted before in the same form?
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 6:21 am
Abhijit More (1/21/2009)
CREATE TABLE tmpProduct
(
ProductIDINT IDENTITY(1, 1) PRIMARY KEY CLUSTERED,
ProductNameVARCHAR(10)
)
CREATE TABLE tmpProductSales
(
ProductSalesIDINT IDENTITY(1, 1) PRIMARY KEY CLUSTERED,
ProductIDINT,
TotalAmtMONEY,
BalanceAmtMONEY
)
INSERTtmpProduct(ProductName)
SELECT'Pr0duct' UNION
SELECT'Pr0duct2' UNION
SELECT'Pr0duct3' UNION
SELECT'Pr0duct4'
INSERTtmpProductSales(ProductID,...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 6:19 am
Are you trying to insert into the first temp table filling the gaps?
Because if you're simply trying to insert unique numbers, you can get the max value from the original...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 6:08 am
And if you want to get really confused, then, without an IDENTITY setting on the column, when the table is empty, the MAX value should be NULL. I'll bet that's...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 6:01 am
Great. Glad to hear it. And thanks for posting the success of the suggestion.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 21, 2009 at 5:32 am
So when you say you want to "extract non-generic sql" do you mean that you have stored procedures in your database that you need to pull out or that you...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 20, 2009 at 6:42 am
I didn't have that one on my list. I do now.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
January 20, 2009 at 6:15 am
Viewing 15 posts - 18,661 through 18,675 (of 22,219 total)