12.07.2015 Views

Querying Microsoft® SQL Server® 2012 - Advanced Technology ...

Querying Microsoft® SQL Server® 2012 - Advanced Technology ...

Querying Microsoft® SQL Server® 2012 - Advanced Technology ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1-24 Introduction to Microsoft <strong>SQL</strong> Server <strong>2012</strong>Exercise 3: Using Books OnlineScenarioTo be effective in your training and exercises to come, you will practice how to use Books Online toefficiently check for T-<strong>SQL</strong> syntax.The main tasks for this exercise are as follows:1. Launch Books Online from the Windows Start menu.2. Configure offline usage.3. Search for the SELECT statement’s syntax.4. Copy some sample code, and paste it into the SSMS query editor.5. Use SSMS’s context-sensitive help. Task 1: Launch Books Online• Launch <strong>SQL</strong> Server Documentation (Books Online) from the Windows Start menu.• Configure Books Online to use the local help (offline) option and not the online help option. Task 2: Search for the SELECT syntax• Using the Index tab, find the syntax for the SELECT statement [<strong>SQL</strong> Server].• Browse the SELECT statement’s definition. Click the SELECT Examples (Transact-<strong>SQL</strong>) link underReference in the See Also section.• Back in SSMS, create a new query file named MyThirdQueryFile.sql and add it to the projectMyFirstProject. Copy and paste the first SELECT code sample from Books Online to the createdquery file. Task 3: Use context-sensitive help• Close Books Online.• In the query file MyThirdQueryFile.sql, highlight the ORDER BY clause and open Books Online bypressing the F1 key.• Browse the ORDER BY definition in Books Online.• Save the project and close it.Results: After this exercise, you should have an understanding how to open Books Online and usecontext-sensitive help.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!