rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781861003065

Beginning SQL Server 7.0 with Visual Basic

by Thearon Willis
  • ISBN13:

    9781861003065

  • ISBN10:

    1861003064

  • Format: Trade Paper
  • Copyright: 2000-01-01
  • Publisher: SPRINGER-VERLAG
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99
We're Sorry.
No Options Available at This Time.

Summary

Willis provides beginners with one source of information to help them build a complete application. Detailed examples demonstrate how-to, along with easy-to-understand explanations.

Table of Contents

Introductionp. 1
What Is This Book Aboutp. 1
How Is This Book Organized?p. 2
Who Is This Book Forp. 5
What You Need To Use This Bookp. 6
Where You Can Find The Sample Codep. 6
Conventionsp. 6
Tell Us What You Thinkp. 8
Customer Supportp. 8
Introduction to SQL Serverp. 11
SQL Server Historyp. 12
SQL Server Databasesp. 12
Database Filesp. 13
Tablesp. 15
Relational Database Designp. 19
Stored Proceduresp. 23
Triggersp. 24
Viewsp. 24
Visual Basic and SQL Serverp. 25
OLE DB, ODBC, and ADOp. 26
Summaryp. 28
Installing the Desktop Edition of SQL Serverp. 31
SQL Server Editionsp. 32
Target Platformp. 32
SQL Server Prerequisitesp. 33
Installation Overviewp. 34
SQL Server Installationp. 34
Tour of SQL Serverp. 43
Enterprise Managerp. 44
SQL Server Query Analyzerp. 51
SQL Server Profilerp. 52
Wizardsp. 53
Full-Text Searchp. 54
English Queryp. 55
Online Analytical Processing (OLAP)p. 55
Summaryp. 56
Creating the Development Databasep. 59
Suggested Naming Conventionsp. 60
Identifying Objectsp. 60
The Development Databasep. 63
Database Designp. 64
Tables, Keys, and Data Typesp. 65
Wrox Auto Works Database Viewp. 70
Creating the Tablesp. 71
Summaryp. 81
SQL Server Securityp. 83
General Security Overviewp. 83
Authenticationp. 84
Access to Database Objectsp. 86
Adding New Users to SQL Serverp. 86
Database Securityp. 90
Rolesp. 90
Adding New Users to a Databasep. 95
Adding Other Usersp. 97
Object Securityp. 101
Table Securityp. 101
View Securityp. 101
Stored Procedure Securityp. 101
Statement Level Securityp. 102
Granting Access Rights by Assigning Role Permissionsp. 102
Summaryp. 105
SQL Server Query Analyzerp. 107
Introducing the Query Analyzerp. 107
Quick Tour of the Query Analyzerp. 108
Creating, Executing, and Saving Queriesp. 115
Debugging Queriesp. 118
Insert, Update, and Delete Statementsp. 121
Insert Statementp. 121
Update Statementp. 123
Delete Statementp. 125
Summaryp. 127
Database Connectionsp. 129
Overview of the ADO 2.5 Object Modelp. 129
ADO Objects and Collectionsp. 130
Connection Objectp. 132
Setting Up a Data Source Namep. 132
DSN Connectionsp. 139
DSN-Less Connectionsp. 145
Data Environment Designer Connectionsp. 148
Summaryp. 153
Introduction to Stored Proceduresp. 155
Stored Procedure vs Transact-SQL Performancep. 155
Permissions on Stored Proceduresp. 156
Parameters and Return Valuesp. 159
Select Stored Proceduresp. 166
Insert Stored Proceduresp. 176
Update Stored Proceduresp. 186
Delete Stored Proceduresp. 191
Summaryp. 197
Stored Procedures vs T-SQL Statementsp. 199
Comparison - Stored Procedures vs In-line SQLp. 199
INSERT Stored Procedurep. 200
INSERT SQL Statementp. 206
UPDATE Stored Procedurep. 209
UPDATE SQL Statementsp. 213
Delete Stored Procedurep. 214
Delete SQL Statementp. 217
Comparison Summaryp. 218
Optimizing SQL Statementsp. 219
Using Command Object Parametersp. 223
Multiple Recordsetsp. 230
Using Stored Procedures to Return Multiple Results Setsp. 230
Using a Recordset Object to Return Multiple Results Setsp. 233
Summaryp. 237
Selecting Datap. 241
Preparing Our Tablesp. 241
Simple Select Stored Procedurep. 244
Joins and Column Aliasesp. 252
Left Outer Joins and Correlation Namesp. 272
Summaryp. 287
Inserting Datap. 289
Stored Procedures that Use Logicp. 289
Controlling the Flowp. 290
Evaluating Datap. 290
Stored Procedures that Use Transactionsp. 301
Checking for Errorsp. 302
Summaryp. 339
Updating Datap. 341
Stored Procedure that Uses Transactions and Logicp. 341
Stored Procedure that Builds and Executes a Dynamic SQL Stringp. 362
Building and Executing a Dynamic SQL String in VBp. 381
Summaryp. 389
Deleting Datap. 391
Referential Integrityp. 391
Triggersp. 392
Testing the Triggerp. 396
Managing Triggersp. 396
Delete Stored Procedurep. 397
Summaryp. 407
Creating a Front-End Programp. 409
Stored Proceduresp. 410
Wrox Auto Works Customer Applicationp. 411
Visual Elementsp. 411
Data Presentationp. 414
Classesp. 421
AbSplash Form Codep. 424
Employment Form Codep. 435
Main Form Codep. 449
Testingp. 479
Summaryp. 481
Creating a Business Server Componentp. 483
What is a Business Server Componentp. 483
MTS versus SQL Server Transactionsp. 484
Creating A Business Server Componentp. 486
Help Filep. 492
Modifying the UIp. 511
Summaryp. 519
Working With Text Datap. 521
Introduction to Text Datap. 521
How SQL Server Manages The Datap. 522
Customer_Comment_T Tablep. 523
Inserting Text Datap. 524
Selecting Text Datap. 530
Text Pointersp. 545
Reading Text Datap. 547
Writing Text Datap. 554
Updating Text Datap. 560
Deleting Text Datap. 567
Summaryp. 573
Preparing for the Test and Production Environmentsp. 575
Index Tuningp. 576
Backing Up Your Databasep. 583
Generating Scriptsp. 588
Preparing Your Programsp. 594
Summaryp. 595
Wrox Auto Works Customer Applicationp. 599
Wrox Auto Works Customer Application - Part 1p. 600
Modified Database Designp. 600
Creating and Altering Tablesp. 602
Stored Proceduresp. 609
Financial Institute Stored Proceduresp. 615
Customer Purchase History Stored Proceduresp. 620
Summaryp. 632
Wrox Auto Works Customer Application - Part 2p. 633
Finance Classp. 633
Vehicle Classp. 637
Address Classp. 643
Employer Classp. 644
Completing the AutoWorks Componentp. 647
Summaryp. 648
Wrox Auto Works Customer Application - Part 3p. 649
Controls Classp. 649
Financial Formp. 654
History Formp. 666
Existing Formsp. 690
Testingp. 696
Summaryp. 697
Wrox Auto Works Sales Staff Applicationp. 701
Wrox Auto Works Sales Staff Application - Part 1p. 702
Database Designp. 703
Database Scriptp. 704
Stored Proceduresp. 710
Existing Stored Proceduresp. 710
New Stored Proceduresp. 714
AutoWorks Business Componentp. 720
SalesStaff Classp. 722
Wrox Auto Works Sales Staff Application - Part 2p. 730
Modifying the UIp. 730
Sales Staff Formp. 731
Wrox Auto Works Sales Staff Application - Part 3p. 747
Temporary Tablesp. 747
Aggregate Functionsp. 750
Top Sales Persons Stored Procedurep. 751
Data Environment Designerp. 754
Data Report Designerp. 758
Summaryp. 768
Customer English Query Applicationp. 771
English Query Installationp. 772
English Query Overviewp. 775
Semantic Objectsp. 776
The Customer English Query Applicationp. 777
Deploying Your English Query Applicationp. 804
Summaryp. 807
T-SQL and VB Data Typesp. 809
ADO 2.5 Object Model and Constantsp. 813
Object Modelp. 813
Objectsp. 813
Command Objectp. 814
Connection Objectp. 815
Error Objectp. 817
Errors Collectionp. 818
Field Objectp. 818
Fields Collectionp. 819
Property Objectp. 820
Properties Collectionp. 820
Parameterp. 821
Parameters Collectionp. 821
Recordp. 822
Recordsetp. 823
Streamp. 827
Constantsp. 829
SQL Server Functionsp. 853
String Functionsp. 853
System Functionsp. 863
Date and Time Functionsp. 878
Aggregate Functionsp. 881
Support and Erratap. 889
Indexp. 895
Table of Contents provided by Syndetics. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program