Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
3Activity

Table Of Contents

Introduction
About This Book
Foolish Assumptions
Conventions Used in This Book
What You Don’t Have to Read
How This Book Is Organized
Part I: Welcome to SQL Server 2005 Express
Part II: Administering a SQL Server 2005 Express System
Part IV: Keeping Your Data Safe from Harm
Part VI: Creating SQL Server 2005 Express Applications
Part VII: The Part of Tens
Part VIII: Appendixes
Icons Used in This Book
Where to Go from Here
Jumping on Board the SQL Server Express
The SQL Server 2005 Express Environment
Where Does SQL Server Express 2005 Work Best?
Small office/Home office (SOHO)
Distributed enterprise
Getting Down to Business with SQL Server 2005 Express
Planning your database
Building SQL Server 2005 Express applications
Getting your own copy of SQL Server 2005 Express
Getting a Copy of SQL Server 2005 Express
Before You Install
Installing SQL Server 2005 Express
Testing Your Installation
Points to Ponder During Installation
Keeping a Low Profile
Configuring surface area for services and connections
Configuring surface area for features
Is Anyone Out There?
Connecting to Your Server
Connecting with SQLCMD
Connecting with SQL Server Management Studio Express
Connecting with ODBC
Connecting with Visual Studio Express
Planning For Tomorrow as Well as Today
Estimating database usage and growth
Deciding when to graduate
Administering Your SQL Server 2005 Express System
58Part II:Administering a SQL Server 2005 Express System
Using character-based utilities
Using third-party database administration tools
Creating a Database and Table
1.Launch SQL Server Management Studio Express
Master of the Database Domain
Setting SQL Server 2005 Express Parameters
How to configure your server
Common server parameters
Picking Up the Pace
Monitoring performance
Enhancing your computer
Speeding up the database
Determining When and Why to Replicate
Discovering the Types of Replication
Understanding Replication Limitations
Replication Concepts
Components for publishing
Components for subscribing
Setting Up Replication
What Can You Store in a Database?
Designing Your Database
Logical design
Physical design
Normalization
First normal form
Second normal form
Third normal form
When not to normalize
Using SQL Server Management Studio Express
The Object Explorer
The Query window
Creating Key Database Objects
Databases
Tables
Relationships
Enforcing relationships
Constraints
Creating a relationship
Changing or removing a relationship
What Is Transact-SQL?
SQL: The start of it all
Transact-SQL: SQL on steroids
Accessing Information
Storing Information in Your Database
Bulk Inserts
The BULK INSERT statement
The bcp utility
Format file
Finding Information in Your Database
The SELECT statement
Filtering your results
Sorting your results
Built-in functions
Renaming output columns
Joining tables
Subqueries
Speeding up your queries
Changing Data
Deleting Data
Advanced Data Definition
Views
Using XML
Indexing
Deciding what to index
Creating an index
Searching, Grouping, and Summarizing Data
GROUP BY
ROLLUP
CUBE
HAVING
TIMESTAMP
Why Bother with Security?
Insufficient security: When bad thingshappen to good data
Should you secure your database?
What Can You Secure?
Who Can You Let Use Your Database?
What Can You Let Users Do?
Who gets to use the database?
Choosing from the permissions menu
Implementing Security
Getting a list of authorized users
Granting access
Setting permissions by securable
Modifying or revoking permissions
What Is Data Integrity?
Shocking tales of lost integrity
Passing the ACID test
Key Transaction Structures
Isolation Levels
Using Transactions
Transactions: Your Data’s Best Friend
What are transactions?
How do transactions work?
Synchronizing Memory and Disk Storage
Choosing the right backup strategy
Recovery models
Best practices for protecting your data
Types of backup available in the simple recovery model
Using the simple recovery model to backup your data
Introducing Stored Procedures and Functions
Examples of stored procedures and functions
When not to use a stored procedure or function
Differences between stored procedures and functions
System stored procedures and functions
Getting a list of stored procedures and functions
Some useful system stored procedures and functions
Writing a Stored Procedure or Function
Using Transact-SQL
Discovering already-existing triggers
Writing new triggers
Invoking triggers
Disabling triggers
Modifying triggers
Deleting triggers
Finding Out How SQLCLR Works
The .NET framework
Why use SQLCLR?
What can you build with SQLCLR?
Determining Whether You Should Use SQLCLR
Using SQLCLR
Example 1: Customer classification stored procedure
Example 2: Insurance risk function
Don’t Just Ignore It: Why You Should Care About Errors
How to Handle Errors
Information about errors
Built-in system functions
Handling errors in the database
Handling errors in the application
Error Examples
Syntax error
Database schema issue
Data conversion problems
Referential integrity violation
Trigger interception
Defining Your Own Errors with RAISERROR
Deciding to Use the Advanced Services Edition
Installation Considerations
Full-Text Searching
Special SQL Server full-text enhancements
How full-text search works
Using full-text searching
Full-text predicates versus full-text functions
Examples
Performance tips
Reporting Services
Creating your report
Publishing your report
Maintaining your report
Laying the Groundwork for an Application
Creating a project
Creating a new database
Connecting to an existing database
Creating new tables
Building the User Interface
Making Your Program Functional
Adding application logic
Debugging
Packaging and shipping
Visual Web Developer 2005 Express
Creating a Web site
What Is This Thing Called XML?
XML advantages
XML structure
Other important XML concepts
When should you use XML?
Placing XML into Your SQL Server 2005 Express Database
Operating on XML-based Information
Searching for XML data
Modifying XML data
Formatting relational data as XML
Microsoft SQL Server Web site
Microsoft SQL Server Web Site
Microsoft Developer Network
Wikipedia
Newsgroups
Magazines
User Groups
Books
Database Design Tools
Administrative Tools
Data Generation Tools
Blogs
Ten SQL Server 2005 Express Troubleshooting Tips
Show Me How I Can Get the Product
I Can’t Install It!
I Can’t Connect to the Database!
Show Me How to Administer My Database
I Can’t See My Data!
My Data Is Messed Up!
I Want to Automate Some Operations
I Want to Simplify My Data
I Want to Build Good Software
My Database Server Is Too Slow!
Why Migrate?
Coming Up with a Good Migration Plan
Delivering on the Migration
Microsoft Access
Microsoft Data Engine (MSDE)
Text files
Wrapping Up Your Migration
System Requirements
What You’ll Find
If You Have Problems (Of the CD Kind)
Index
0 of .
Results for:
No results containing your search query
P. 1
Microsoft SQL Server 2005 Express Edition For Dummies (2006)

Microsoft SQL Server 2005 Express Edition For Dummies (2006)

Ratings: (0)|Views: 5,906|Likes:
Published by Jordi

More info:

Published by: Jordi on Feb 08, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/05/2012

pdf

text

original

You're Reading a Free Preview
Pages 9 to 170 are not shown in this preview.
You're Reading a Free Preview
Pages 179 to 226 are not shown in this preview.
You're Reading a Free Preview
Pages 235 to 242 are not shown in this preview.
You're Reading a Free Preview
Pages 251 to 365 are not shown in this preview.
You're Reading a Free Preview
Pages 374 to 412 are not shown in this preview.

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Anada Buda liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->