Using Microsoft SQL Server 7.0 and Visual Basic 6.0 TOC-1
Using Microsoft SQL Server 7.0 and Visual Basic 6.0 TOC-1
Using Microsoft SQL Server 7.0 and Visual Basic 6.0 TOC-1
TOC-1
Table of Contents
The ADO Recordset Object...................................................................3-2
Creating Recordsets..................................................................3-2
Working with Multiple Result Sets .........................................................3-6
The ADO Command Object ..................................................................3-8
Creating a Command Object .....................................................3-8
Using a Command Object (Action Query) ..................................3-9
Handling Errors ...................................................................................3-12
The Data Environment Designer .........................................................3-14
Getting Started with the Data Environment Designer...............3-14
Setting the Connection ............................................................3-15
Creating a Command Object ...................................................3-17
Using Stored Procedures.........................................................3-19
Programming the Data Environment ...................................................3-20
Working with Recordsets .........................................................3-20
Calling a Parameter Query ......................................................3-21
Questions............................................................................................3-23
Answers ..............................................................................................3-24
ADVANCED DATA OPERATIONS ...................................................................4-1
Stored Procedures ................................................................................4-2
What Is a Stored Procedure? ....................................................4-2
Writing Stored Procedures ....................................................................4-3
Writing Your Own Stored Procedures ...................................................4-8
Basic Syntax..............................................................................4-8
Questions............................................................................................4-21
Answers ..............................................................................................4-22
MOVING DATA FROM ACCESS TO SQL SERVER ........................................5-1
Upsizing Microsoft Access Data to SQL Server.....................................5-2
What Ramifications Does Moving to SQL Server Have?............5-2
OK, Ive Removed All of My BLOBs From My Database, How Do I
Now Move My Access Database to SQL Server? ......................5-4
Using the Access 2000 Upsizing Wizard .............................................5-14
Making Your Database More Efficient .................................................5-22
Data Transformation Services (DTS) ..................................................5-26
How DTS Works......................................................................5-27
Running the DTS Import Wizard ..............................................5-28
Answers ..............................................................................................5-44
TOC-2
Table of Contents
ADVANCED TOPICS .......................................................................................6-1
Developing Distributed Applications ......................................................6-2
Linked Servers ......................................................................................6-3
Introduction to Replication...................................................................6-11
Components of Replication......................................................6-12
Replication Models ..................................................................6-13
Offline Applications .............................................................................6-19
Using Creatable Recordsets....................................................6-19
Offline Data Storage ................................................................6-20
Questions............................................................................................6-24
Answers ..............................................................................................6-25
INDEX ..................................................................................................... INDEX-1
TOC-3
Table of Contents
TOC-4