Chapter 9
Using SPD Server With Other
Clients
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Open Database Connectivity (ODBC) to Access SPD Server Tables . . . . . .
Using JDBC (Java) to Access SPD Server Tables . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using htmSQL to Access SPD Server Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using SQL C API to Access SPD Server Tables . . . . . . . . . . . . . . . . . . . . . . . . . . .
Overview
This chapter describes using SPD Server to connect with ODBC, JDBC, htmSQL, and SQL
C API clients.
Scalable Performance Data Server provides ODBC, JDBC, htmSQL, and SQL C API
access to SPD Server data stores from all supported platforms.
Why Use ODBC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing OBDC Drivers on the Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuring ODBC on the Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preparing your Client Machine for ODBC Installation . . . . . . . . . . . . . . . . . . . . . .
Two Types of ODBC Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Primary and Secondary LIBNAME Domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuring an ODBC Data Source to Connect Directly to an SPD Server . . . . . .
Configuring an ODBC Data Source for SPD SNET . . . . . . . . . . . . . . . . . . . . . . . .
Editing the Services File on Your Machine - ODBC Details . . . . . . . . . . . . . . . . . .
Creating a Query Using an ODBC-Compliant Program . . . . . . . . . . . . . . . . . . . . .
Why Would I Want to Use JDBC? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Is JDBC Set Up on the Server? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Is JDBC Set Up on the Client? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Do I Use JDBC to Make a Query? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
JDBC Code Examples and Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Limitations of Using JDBC with the SPD Server . . . . . . . . . . . . . . . . . . . . . . . . .
Why Would I Want to Use htmSQL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Is htmSQL Set Up on the Server? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Is htmSQL Set Up on the Client? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How Do I Use htmSQL to Make a Query? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Examples of Setting Up an htmSQL Web Page . . . . . . . . . . . . . . . . . . . . . . . . . . .
Why Would I Want to Use SQL C API? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
93
93
94
94
95
95
96
96
97
97
98
98
99
99
99
100
100
100
101
102
102
102
103
103
104
104
104
104
Need help?
Do you have a question about the Scalable Performance Data Server 4.5 and is the answer not in the manual?