Goodbye

Thanks for joining us for SQL Server 2008 Essential Training.…You have seen the core features, applications and techniques to get started with…creating and working with databases in SQL Server and you should now have a…pretty good idea of what parts of SQL Server you want to take further.…You might want to do more work with designing and creating databases or dive…deeper into indexing and performance or see what can be done with the…surrounding components like Reporting Services and Integration Services.…So good luck with your databases!…

Resume Transcript Auto-Scroll

Author

Released

12/15/2010

In SQL Server 2008 Essential Training, Simon Allardice explores all the major features of SQL Server 2008 R2, beginning with core concepts: installing, planning, and building a first database. Explore how Transact-SQL is used to retrieve, update, and insert information, and gain insight into how to effectively administer databases. The course also covers features outside SQL Server's database engine, including technologies that have grown up around it: SQL Server Reporting Services and Integration Services. Exercise files are included with the course.

Topics include:

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

6h 54m

Duration

2,077,840

Views

Show MoreShow Less

Q: I'm having problems installing the free Express R2 version of SQL Server on Windows XP. I tried 64-bit and 32-bit versions. In the videos, the author installs from a DVD. Do I need to do the same?

A: While the author installs from a DVD, it's not strictly necessary. There certainly shouldn't be a problem installing the Express edition from a regular download. That's the way it's intended to be installed.

If you're using Windows XP, the only officially supported version is the 32-bit version. However, you do need to make sure that your Windows XP install is completely up-to-date and patched, with XP Service Pack 3 installed. (See http://msdn.microsoft.com/en-us/library/ms143506.aspx#Express32 for formal requirements.)

It's not unusual for the install process to take a while, and with older operating systems like XP, you'll often have to back it out and try again, as usually there's a bunch of prerequisites that need to be installed. (Like the .NET Framework 3.5 SP1, the correct version of Windows Installer, etc.)

Q: The link to the installer for the AdventureWorks sample database, as shown in the Chapter 2 movie "Installing sample databases," no longer works. Where can I find the installer?

A: Microsoft has reorganized its site. The sample files are still there, but they're a bit harder to find. To install them:

1) Visit http://msftdbprodsamples.codeplex.com/.2) Click the link to "SQL Server 2008 R2 OLTP."3) Click the AdventureWOkrs2008R2 Data File link and agree to the conditions to download the MDF file.4) Move the MDF file to your SQL Server Directory, usually located at C:\Program Files\Microsfot SQL Server\MSSQL 10_50.MSSQLSERVER\MSSQL\DATA.5) Open the SQL Sever Management Studio and connect to your instance using an account with administrative privileges.6) Attach the sample database by right-clicking the Databases folder in the Object Explorer and choosing Attach from the pop-up menu.7) Click the Add button in the next menu and navigate to the MDF file in the Locate Database Files window that appears. Select it and click OK.8) Remove the reference to the log file in the "AdventureWorks2008R2" database details: pane by selecting the Log entry and clicking removing.*9) Click OK to return to SQL Server Management Studio and complete the attachment process.

*MDF files are the "data" files for SQL Server databases. They often come along with LOG files (ldf files). This one didn't so we need to REMOVE the reference to the non-existent log file. Select the second row in the lower section (it should say File Type: Log and Message: Not Found) and click the REMOVE button.

For an illustrated version of these instructions (with screenshots), click here for a PDF version.