Viewing 15 posts - 17,761 through 17,775 (of 22,219 total)
satishthota (4/8/2009)
PersonId OID
P1 ...
"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
April 9, 2009 at 5:50 am
Clustering is a whole technology and no, to my knowledge, you can't cluster two instances on the same server. Clustering is a mechanism for having more than one server available...
"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
April 9, 2009 at 5:44 am
There is no "best" tool, there's what works for you and your situation. I can make a few suggestions.
Start treating your database like code. Check all the scripts into source...
"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
April 9, 2009 at 5:28 am
Thanks to an article published here a few months back, I read a book called Getting Things Done by David Allen. He's pretty ruthless with time management too. It's made...
"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
April 9, 2009 at 5:22 am
Something like this will help get you going.
SELECT TOP (100)
a.CustCode
,a.COUNT(CustCode) CustCodeCount
FROM TableA a
GROUP BY a.CustCode
ORDER BY CustCodeCount DESC
I didn't use the other table becuase I don't see a need for...
"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
April 8, 2009 at 11:48 am
I think it might depend on how selective the index is. Also, because you're updating the index values themselves, you might be seeing a lock on the index, not 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
April 8, 2009 at 10:34 am
Have you tried using aggregation yet? I'm pretty sure you'll need to use within a derived table, but if you can get the aggregated values first, you'll be on your...
"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
April 8, 2009 at 10:29 am
OK. Although if that information was in the table it would be easier to query.
Regardless. What TSQL have you tried for getting the data together so far?
"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
April 8, 2009 at 9:31 am
Greg Roberts (4/8/2009)
Here are the job steps.
Step 1: Backup 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
April 8, 2009 at 9:28 am
Sounds like you did a backup to the same file without issuing INIT to reset it. So, it appended the backup to the file.
If you RESTORE HEADERONLY you should see...
"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
April 8, 2009 at 9:27 am
I'm sorry, I guess I wasn't clear. I meant that you must have another column of data in the tables that references date. How else will you determine 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
April 8, 2009 at 9:18 am
There would need to be a bit more information in those tables. You can't really get data based on date without having stored some date information.
Once you have the date...
"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
April 8, 2009 at 8:50 am
Run the RESTORE ... HEADERONLY. That will tell you all you need to know about the .BAK file itself. Then you can also run RESTORE... FILELISTONLY to get the file...
"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
April 8, 2009 at 6:38 am
After you unzip the file you need to run a RESTORE command. If you're getting particular errors with the restore, please post them. If you're really unsure how to use...
"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
April 8, 2009 at 6:34 am
I'm not aware of a formula that will do what you want, although if there is one, I'd suggest swinging by Adam Machanic's blog to look for it. By &...
"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
April 8, 2009 at 6:29 am
Viewing 15 posts - 17,761 through 17,775 (of 22,219 total)