Download presentation
Presentation is loading. Please wait.
1
W04 Connecting 3rd Party Application to ODBC
By Michael H. Penrod Senior Database Administrator Product Development
2
Introduction – Who am I? Product Development DBA
Have worked with SQL for 13 years Have worked with: Microsoft SQL Server 6.5, 7.0, 2000 Oracle 4, 5, 6, 7, 8, 9 Sybase System 11 SQL Anywhere AS400 DB2 Microsoft Certified Professional Created the DSU / Maintain the DDU
3
Introduction – Who are you?
EX, CX, PX, QX, TE? ICS? Microsoft SQL Server, Sybase, Oracle, Informix, DB2?
4
Prerequisites You must have the RDBMS client software loaded on the workstation that you are using. This is software provided by the RDBMS vendor to allow connections to their RDBMS.
5
Creating an ODBC Datasource
Datasource is also referred to as a DSN We will look at: Microsoft SQL Server 7.0/2000 Oracle 7 Oracle 9 Sybase System 11
6
First Step: Open ODBC Administrator
Found in your Control Panel, under Administrative Tools For EX customers, can also be found in the EX Program folder
7
First Step: Open ODBC Administrator
User, System, or File?
8
First Step: Open ODBC Administrator
Click Add
9
First Step: Open ODBC Administrator
Select the RDBMS that you want Click Finish
10
Microsoft SQL Server 7.0/2000 ODBC
A multi-page wizard
11
Microsoft SQL Server 7.0/2000 ODBC
12
Microsoft SQL Server 7.0/2000 ODBC
13
Microsoft SQL Server 7.0/2000 ODBC
14
Microsoft SQL Server 7.0/2000 ODBC
15
Microsoft SQL Server 7.0/2000 ODBC
16
Oracle Your System Administrator must have a tnsnames.ora and sqlnet.ora files created,and loaded on the workstation, in addition to the RDBMS client software
17
Oracle 7 Simple, no-frills, three entries
in the SQL*Net Connect String
18
Oracle 9 More complex, more options
19
Oracle 9
20
Oracle 9
21
Oracle 9
22
Oracle 9
23
Sybase System 11 Use the DSEdit program, from Sybase, enter your installation information. Your System Administrator will have to provide this information.
24
Sybase System 11 Enter the Name, Server, and Database Name
All other information is usually optional
25
Ready to use the Third Party Application
Now that the ODBC connection has been created, you are ready to use the third party application against the RDBMS.
26
Using Microsoft Excel Open Microsoft Excel
Under the Data menu, choose Get External Data, New Database Query
27
Using Microsoft Excel Select your ODBC connection, and click OK
28
Using Microsoft Excel Enter your password
29
Using Microsoft Excel Pick the Table Expand to see the columns
Select the column Use the arrows to move them to the right-hand column Click Next
30
Using Microsoft Excel Enter the Where criteria
31
Using Microsoft Excel Select the Sort Order
32
Using Microsoft Excel Select what to do with the data output
33
Using Microsoft Excel Indicate where to place the data in Excel, then wait for the data to be returned
34
Using Microsoft Excel
35
Using Microsoft Access
Open Access Choose to use a blank Access database
36
Using Microsoft Access
Give the database a name
37
Using Microsoft Access
Now you have a choice to make Right Click and choose Import the Table into Access OR Link the table to the actual database
38
Using Microsoft Access - Import
Select where to import from Choose ODBC
39
Using Microsoft Access - Import
Select your ODBC datasource
40
Using Microsoft Access - Import
Login
41
Using Microsoft Access - Import
Select the Table(s)
42
Using Microsoft Access - Import
A copy of the table is now in Access. Changes made here will NOT be made to the real database.
43
Using Microsoft Access - Import
44
Using Microsoft Access – Linked Table
Select where to link to Choose ODBC
45
Using Microsoft Access – Linked Table
Select your ODBC datasource
46
Using Microsoft Access – Linked Table
Login
47
Using Microsoft Access – Linked Table
Select the table(s) to link
48
Using Microsoft Access – Linked Table
A link to the table is now in Access. Changes made here WILL be made to the real database.
49
Using Microsoft Access – Linked Table
50
Demonstration
51
Need More Information? Contact your System Administrator Excel Help
Access Help
52
Questions???
53
Thank You! Thank You for attending this session.
Please fill out an evaluation form.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.