17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents<br />

Chapter 2:T ools of the T rade 21<br />

xvi<br />

Books Online 21<br />

<strong>SQL</strong> Ser ver Configuration Manager 23<br />

Service Management 23<br />

Network Configuration 24<br />

The Protocols 25<br />

Named Pipes 26<br />

TCP/IP 26<br />

Shared Memory 27<br />

On to the Client 27<br />

<strong>SQL</strong> Ser ver Management Studio 28<br />

Getting Started with the Management Studio 29<br />

<strong>Server</strong> Type 29<br />

<strong>Server</strong> Name 29<br />

Authentication 31<br />

Query Window 33<br />

Getting Started 33<br />

Results to Text 35<br />

Results to Grid 36<br />

Results to File 36<br />

sqlcmd Mode 36<br />

Show Execution Plan 37<br />

The Available Databases Combo Box 38<br />

The Object Explorer 38<br />

<strong>SQL</strong> Ser ver Integration Ser vices (SSIS) 39<br />

Bulk Copy Program (bcp) 39<br />

<strong>SQL</strong> Ser ver Profiler 40<br />

sqlcmd 40<br />

PowerShell 41<br />

Summary 41<br />

Chapter 3: The F oundation Statements of T -<strong>SQL</strong> 43<br />

Getting Star ted with a Basic SELECT Statement 44<br />

The SELECT Statement and FROM Clause 44<br />

The WHERE Clause 48<br />

ORDER BY 51<br />

Aggregating Data Using the GROUP BY Clause 54<br />

Aggregates 56<br />

Placing Conditions on Groups with the HAVING Clause 62<br />

Outputting XML Using the FOR XML Clause 64

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

Saved successfully!

Ooh no, something went wrong!