SØG - mellem flere end 8 millioner bøger:

Søg på: Titel, forfatter, forlag - gerne i kombination.
Eller blot på isbn, hvis du kender dette.

Viser: Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes

Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes

Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes

Ben Forta
(2007)
Sprog: Engelsk
Pearson Education, Limited
276,00 kr. 248,40 kr.
Bogen er udgået og er erstattet af nyere udgave

Detaljer om varen

  • Paperback: 368 sider
  • Udgiver: Pearson Education, Limited (August 2007)
  • ISBN: 9780672328671

Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes offers straightforward, practical answers when you need fast results. By working through 10-minute lessons, you'll learn everything you need to know to take advantage of Microsoft SQL Server's T-SQL language.

 

This handy pocket guide starts with simple data retrieval and moves on to more complex topics, including the use of joins, subqueries, full text-based searches, functions and stored procedures, cursors, triggers, table constraints, XML, and much more.

 

You'll learn what you need to know methodically, systematically, and simply-in highly focused lessons designed to make you immediately and effortlessly productive.

 

Tips point out shortcuts and solutions

 

Cautions help you avoid common pitfalls

 

Notes explain additional concepts, and provide additional information

 

10 minutes is all you need to learn how to...

  • Use T-SQL in the Microsoft SQL Server environment
  • Construct complex T-SQL statements using multiple clauses and operators
  • Filter data so you get the information you need quickly
  • Retrieve, sort, and format database contents
  • Join two or more related tables
  • Make SQL Server work for you with globalization and localization
  • Create subqueries to pinpoint your data
  • Automate your workload with triggers
  • Create and alter database tables
  • Work with views, stored procedures, and more

 Register your book at www.samspublishing.com/register to download examples and source code from this book.

Introduction 1 Who Is This Book For'..................................................................................................... 2 Companion Website............................................................................................................. 2 Conventions Used in This Book................................................................................. 3 1 Understanding SQL 5 Database Basics....................................................................................................................... 5 What Is SQL'......................................................................................................................... 11 Try It Yourself...................................................................................................................... 12 Summary.................................................................................................................................... 12 2 Introducing SQL Server 13 What Is SQL Server'......................................................................................................... 13 SQL Server Tools................................................................................................................ 16 Summary.................................................................................................................................... 18 3 Working with SQL Server 19 Making the Connection................................................................................................... 19 Selecting a Database........................................................................................................... 20 Learning About Databases and Tables................................................................ 21 Summary.................................................................................................................................... 25 4 Retrieving Data 27 The SELECT Statement................................................................................................. 27 Retrieving Individual Columns.................................................................................. 27 Retrieving Multiple Columns..................................................................................... 29 Retrieving All Columns................................................................................................... 31 Retrieving Distinct Rows.............................................................................................. 32 Limiting Results.................................................................................................................... 33 Using Fully Qualified Table Names...................................................................... 36 Summary.................................................................................................................................... 36 5 Sorting Retrieved Data 37 Sorting Data............................................................................................................................. 37 Sorting by Multiple Columns.................................................................................... 39 Specifying Sort Direction.............................................................................................. 40 Summary.................................................................................................................................... 43 6 Filtering Data 45 Using the WHERE Clause............................................................................................ 45 The WHERE Clause Operators................................................................................ 46 Summary.................................................................................................................................... 52 7 Advanced Data Filtering 53 Combining WHERE Clauses....................................................................................... 53 Using the IN Operator..................................................................................................... 57 Using the NOT Operator.............................................................................................. 59 Summary.................................................................................................................................... 60 8 Using Wildcard Filtering 61 Using the LIKE Operator.............................................................................................. 61 Tips for Using Wildcards.............................................................................................. 67 Summary.................................................................................................................................... 67 9 Creating Calculated Fields 69 Understanding Calculated Fields.............................................................................. 69 Concatenating Fields......................................................................................................... 70 Performing Mathematical Calculations............................................................... 75 Summary.................................................................................................................................... 77 10 Using Data Manipulation Functions 79 Understanding Functions............................................................................................... 79 Using Functions.................................................................................................................... 80 Summary.................................................................................................................................... 89 11 Summarizing Data 91 Using Aggregate Functions........................................................................................... 91 Aggregates on Distinct Values................................................................................... 98 Combining Aggregate Functions............................................................................ 100 Summary................................................................................................................................. 100 12 Grouping Data 101 Understanding Data Grouping................................................................................ 101 Creating Groups................................................................................................................ 102 Filtering Groups................................................................................................................ 103 Grouping and Sorting..................................................................................................... 106 SELECT Clause Ordering........................................................................................... 108 Summary................................................................................................................................. 109 13 Working with Subqueries 111 Understanding Subqueries.......................................................................................... 111 Filtering by Subquery.................................................................................................... 111 Using Subqueries as Calculated Fields.............................................................. 116 Checking for Existence with Subqueries.......................................................... 119 Summary................................................................................................................................. 121 14 Joining Tables 123 Understanding Joins....................................................................................................... 123 Creating a Join..................................................................................................................... 126 Summary................................................................................................................................. 135 15 Creating Advanced Joins 137 Using Table Aliases........................................................................................................ 137 Using Different Join Types...................................................................................... 138 Using Joins with Aggregate Functions............................................................. 145 Using Joins and Join Conditions........................................................................... 147 Summary................................................................................................................................. 147 16 Combining Queries 149 Understanding Combined Queries....................................................................... 149 Creating Combined Queries...................................................................................... 150 Summary................................................................................................................................. 155 17 Full-Text Searching 157 Understanding Full-Text Searching..................................................................... 157 Setting Up Full-Text Searching.............................................................................. 158
De oplyste priser er inkl. moms

Polyteknisk Boghandel

har gennem mere end 50 år været studieboghandlen på DTU og en af Danmarks førende specialister i faglitteratur.

 

Vi lagerfører et bredt udvalg af bøger, ikke bare inden for videnskab og teknik, men også f.eks. ledelse, IT og meget andet.

Læs mere her


Trykt eller digital bog?

Ud over trykte bøger tilbyder vi tre forskellige typer af digitale bøger:

 

Vital Source Bookshelf: En velfungerende ebogsplatform, hvor bogen downloades til din computer og/eller mobile enhed.

 

Du skal bruge den gratis Bookshelf software til at læse læse bøgerne - der er indbygget gode værktøjer til f.eks. søgning, overstregning, notetagning mv. I langt de fleste tilfælde vil du samtidig have en sideløbende 1825 dages online adgang. Læs mere om Vital Source bøger

 

Levering: I forbindelse med købet opretter du et login. Når du har installeret Bookshelf softwaren, logger du blot ind og din bog downloades automatisk.

 

 

Adobe ebog: Dette er Adobe DRM ebøger som downloades til din lokale computer eller mobil enhed.

 

For at læse bøgerne kræves særlig software, som understøtter denne type. Softwaren er gratis, men du bør sikre at du har rettigheder til installere software på den maskine du påtænker at anvende den på. Læs mere om Adobe DRM bøger

 

Levering: Et download link sendes pr email umiddelbart efter købet.

 


Ibog: Dette er en online bog som kan læses på udgiverens website. 

Der kræves ikke særlig software, bogen læses i en almindelig browser.

 

Levering: Vores medarbejder sender dig en adgangsnøgle pr email.

 

Vi gør opmærksom på at der ikke er retur/fortrydelsesret på digitale varer.