Wiley 978-0-7645-8434-3 Datenblatt

Stöbern Sie online oder laden Sie Datenblatt nach Software-Handbücher Wiley 978-0-7645-8434-3 herunter. Wiley Professional SQL Server 2005 Programming Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 16
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Being Objective:
Re-Examining Objects
in SQL Server
Well, here we are. We’re at the beginning, but, if you’re someone who’s read my Professional level
titles before, you’ll find we’re not quite at the same beginning that we were at in previous editions.
SQL Server has gotten just plain too big, and so the “Pro” is going to become a little bit more “Pro”
in level right from the beginning.
So, why am I still covering objects first then? Well, because I think a review is always in order on
the basics, because you may need the see what’s changed versus previous editions, and, last but
not least, I still want this book to retain some of its use as a reference (I hate having to use 25 books
to get all the info that seems like it should have been in just one).
With this in mind, I’m going to start off the same way I always start off looking at the objects avail-
able on your server. The difference is that I’m going to assume that you already largely know this
stuff, so we’re going to move along pretty quickly and make a rather short chapter out of this one.
So, What Exactly Do We Have Here?
What makes up a database? Data for sure. (What use is a database that doesn’t store anything?)
But a
Relational Database Management System (RDBMS) is actually much more than data. Today’s
advanced RDBMSs not only store your data, they also manage that data for you, restricting what
kind of data can go into the system, and also facilitating getting data out of the system. If all you
want is to tuck the data away somewhere safe, you can use just about any data storage system.
RDBMSs allow you to go beyond the storage of the data into the realm of defining what that data
should look like. In the case of SQL Server, it doesn’t just stop there. SQL Server provides additional
services that help automate how your data interacts with data from other systems through such
powerful features as the SQL Server Agent, Integration Services, Notification Services, and more.
04_584340 ch01.qxp 10/18/06 2:11 PM Page 1
COPYRIGHTED MATERIAL
Seitenansicht 0
1 2 3 4 5 6 ... 15 16

Inhaltsverzeichnis

Seite 1 - COPYRIGHTED MATERIAL

Being Objective: Re-Examining Objects in SQL ServerWell, here we are. We’re at the beginning, but, if you’re someone who’s read my Professional levelt

Seite 2 - The Database Object

Users and RolesThese two go hand in hand. Users are pretty much the equivalent of logins. In short, this object repre-sents an identifier for someone

Seite 3 - The model Database

Full-Text CatalogsFull-text catalogs are mappings of data that speed the search for specific blocks of text within columnsthat have full-text searchin

Seite 4

Data Type Size in Name Class Bytes Nature of the DataDateTime Date/Time 8 Date and time data from January 1, 1753, toDecember 31, 9999, with an accur

Seite 5 - The Transaction Log

Data Type Size in Name Class Bytes Nature of the DataNtext Unicode Varies Like the Text data type, this is legacy supportonly. In this case, use nvar

Seite 6

When you mix the usage or assignment of variables or fields of different data types, a number of typesconvert implicitly (or automatically). Most othe

Seite 7 - Diagrams

over the prior year, but you don’t have records for the year before the first record in your database. Youmight be tempted to just enter a zero in the

Seite 8

❑ The name can be up to 128 characters for normal objects and 116 for temporary objects.❑ Any names that are the same as SQL Server keywords or contai

Seite 9 - User-Defined Functions

This chapter provides an overview to the rest of the book. Everything discussed in this chapter will becovered again in later chapters, but this chapt

Seite 10 - User-Defined Data Types

When you first load SQL Server, you will start with four system databases:❑ master❑ model❑ msdb❑ tempdbAll of these need to be installed for your serv

Seite 11 - SQL Server Data Types

system. Note that since this database serves as the template for any other database, it’s a requireddatabase and must be left on the system; you canno

Seite 12 - Chapter 1

AdventureWorksDWThis is the Analysis Services sample. (The DW stands for data warehouse, which is the type of databaseover which most Analysis Service

Seite 13

An index provides us ways of speeding the lookup of our information. Indexes fall into two categories:❑ Clustered —You can have only one of these per

Seite 14 - NULL Data

FilegroupsBy default, all your tables and everything else about your database (except the log) are stored in a singlefile. That file is a member of wh

Seite 15 - Rules for Naming

Figure 1-1In addition to these most basic uses for view, we also have the ability to create what is called an indexedview. This is the same as any oth

Seite 16

❑ Views that reference multiple tables generally perform much faster with an indexed viewbecause the join between the tables is preconstructed.❑ Aggre

Kommentare zu diesen Handbüchern

Keine Kommentare