Viewing 15 posts - 9,241 through 9,255 (of 22,219 total)
In short, homework.
Here's how it's done. Think about each of the objects you've just defined. There's a school, a student and student grades. Now think about how those objects relate...
"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
December 17, 2013 at 3:34 am
And ditch the NOLOCK hint.
If the table has 100K of records, this looks like it's also returning over 100K of records. Is the WHERE clause not filtering at all?
"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
December 17, 2013 at 3:28 am
Please don't cross post questions between forums. As you can see, we all go to many (most?) of the forums to answer. Cross posting just confuses the conversation.
"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
December 16, 2013 at 8:16 pm
Nope. No maintenance wizard, no SQL Agent, so to maintain Express editions you'll need to have some type of scheduling service and create T-SQL scripts for all the maintenance.
"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
December 16, 2013 at 8:15 pm
Gotta land on the other side on this one.
I spent close to 10 years as a DBA for a major insurance company and most of that time I did not...
"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
December 16, 2013 at 8:12 pm
It's certainly possible, and yes, it would matter. For example, you may have an application that knows it has issues with statistics, so as part of the install it creates...
"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
December 16, 2013 at 4:15 pm
SQL Server Availability Groups were introduced with SQL Server 2012. But there are other types of "high availability" options that are there in other versions of the product, as were...
"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
December 16, 2013 at 4:12 pm
Yikes! Not good. A consistency check should be run on the database right away. I hope you have good backups in place.
"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
December 16, 2013 at 12:00 pm
Replication is also supported in Standard. Mirroring is also supported by Standard (although a slightly reduced version). You can see the versions here.
"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
December 16, 2013 at 11:58 am
Or you can set up mirroring or log shipping or replication... None are easy, but all can be done in such a way to get a read only copy of...
"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
December 16, 2013 at 10:57 am
As you have it currently configured, you're right not to trust it. You're completely open to SQL Injection. For a good laugh, and a good education, see to Bobby Tables[/url]....
"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
December 16, 2013 at 6:33 am
A database backup consists of all the committed pages of the database and enough of the log roll forward or roll back active transactions at the time of the backup....
"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
December 16, 2013 at 6:28 am
You're going to have to go through all the processes of tuning the server, the database and the code. I'd suggest getting a copy of my book on query tuning....
"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
December 16, 2013 at 4:41 am
What version of SQL Server? Is this an Express version? If so, it's probably just not started. You'll have to locate it within the file system to get it started....
"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
December 15, 2013 at 4:51 am
As much as I'd like to say that Red Gate is the way to go, I think you'd be better off using SSIS to build out a migration between 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
December 15, 2013 at 4:49 am
Viewing 15 posts - 9,241 through 9,255 (of 22,219 total)