Viewing 15 posts - 8,101 through 8,115 (of 22,224 total)
Chances are you didn't run the restore with the syntax KEEP_CDC. In this event, even though, as Kevin says, the backup includes the CDC tables and data, they're removed during...
"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
May 20, 2014 at 4:26 am
You'll have to let the identity values be regenerated by the system that you're moving everything into. You can capture the new values using the OUTPUT clause. With 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
May 20, 2014 at 4:22 am
And do you know that NOLOCK can lead to getting incorrect data as well as extra or missing rows? It's a somewhat dangerous operation unless you're sure you can afford...
"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
May 20, 2014 at 4:18 am
If you have lost the database or it's been corrupted and you don't have a backup available, you'll have to rebuild the database. Microsoft has documentation on how to do...
"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
May 20, 2014 at 4:15 am
Why doesn't backup work?
Because my other suggestion is mirroring and that requires a backup and restore as well.
"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
May 19, 2014 at 3:37 pm
Koen Verbeeck (5/19/2014)
Grant Fritchey (5/19/2014)
"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
May 19, 2014 at 7:50 am
free_mascot (5/19/2014)
If you have doubt and server is not production you can enable trace for the specific database and check the activities going on?
You can trace production too, surely. Just...
"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
May 19, 2014 at 7:39 am
If you're upgrading because of concerns about the general age of the software, then you should just upgrade to the latest version. There shouldn't be any discussion. But, any other...
"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
May 19, 2014 at 7:38 am
Security has frequently been a problem in SSDT. My recommendation would be to use the post-deployment scripts. That way you can break it down as needed, but still have it...
"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
May 19, 2014 at 7:34 am
I usually just refer to row and column. They may not be 100% ISO approved terms, but, everyone knows what you're referring to for the most part. And if we're...
"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
May 19, 2014 at 7:32 am
Nope. Just ran through all of it for an update to the book. It's as bad as it ever was.
"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
May 19, 2014 at 7:26 am
I have a query that uses the execution plans in cache to identify potential missing indexes[/url]. Just remember though, these are just potential candidates. You should thoroughly evaluate the recommendations.
"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
May 19, 2014 at 7:00 am
jcrawf02 (5/19/2014)
"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
May 19, 2014 at 6:55 am
Jake Shelton (5/19/2014)
Ie alter the table structure to change datatype so that these match between tables, or create the indexes that use datatypes that match...
"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
May 19, 2014 at 6:24 am
If you used this:
Insert into table_name (j,k) values (Newid(),1123,456)
Then the default of NEWSEQUENTIALID wasn't actually used. Microsoft says that NEWSEQUENTIALID will be faster, so that's not a surprise. It's right...
"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
May 19, 2014 at 6:17 am
Viewing 15 posts - 8,101 through 8,115 (of 22,224 total)