Join Simon Allardice for an in-depth discussion in this video Viewing execution plans, part of SQL Server 2008 Essential Training.
After you've written a few more complex SQL statements where you're using…joins and sub-queries, you'll probably end up wondering, well which one is…better performance-wise?…Is one objectively faster or slower than the other?…And of course it depends on how you are doing the join and how you are doing the…sub-query, but there is a way to find out.…So I'm looking right now here at the example I did in the previous module,…which is selecting the company with the most expensive order, one way doing it…using a JOIN, Action Bicycle Specialists, and one way doing a sub-query. Same data, same result.…
But what if we want to know which one is faster?…Well there are quite a few ways of doing it to get fairly detailed. You can get…into what's called the SQL Server Profiler, but we don't need to go that heavy.…What I'm going to do is select the two blocks that I want to do. This is now…considered our batch, but formally, the entire file is because there is…nothing else in the file.…I'm going to come up here to my toolbar and I'm going to click this button that…
- Using T-SQL (Transact-SQL)
- Managing databases with SQL Server Management Studio
- Understanding database normalization
- Using SELECT statements
- Building indexes
- Monitoring database size and integrity
- Backing up and restoring databases
- Creating functions and stored procedures
- Managing database permissions
- Creating and formatting reports
- Adding charts to reports
- Creating and executing a simple SSIS package
Skill Level Beginner
1. Getting Started
2. Installing SQL Server 2008 R2
3. Tools and System Databases
SQL Server system databases2m 22s
4. Creating Databases
5. Importing Existing Data
6. Retrieving Data with SQL
7. Inserting and Updating Data
8. SQL Functions
9. Stored Procedures and Transactions
10. Core Administration Tasks
11. Backing Up and Restoring
12. Security Features
13. Reporting Services
14. Integration Services
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.