Programmer Guide : solidDB® ODBC API : Connecting to a data source
  
Connecting to a data source
A data source can be a database server, a flat file, or another source of data.
To access the data source, you need to define the solidDB® server’s network name which the application will use in a SQLConnect() call (ServerName). The network name may be given in one of the three following ways:
Include the network name in the function call directly
Include the network name in the function call using a logical data source name mapping
Give the network name in the function call as an empty string
There are three connectivity types for defining the network name:
Basic connectivity
Transparent connectivity
SMA connectivity
The following sections describe how to connect to a data source using basic connectivity.
For information about Transparent Connectivity (TC Info), see the sections Using the Transparent Connectivity and Syntax of the Transparent Connectivity Info in the solidDB® High Availability User Guide.
For information about SMA connectivity, see “Establishing local connections for SMA” in the solidDB® Shared Memory Access and Linked Library Access User Guide.
See also
Network name and connect string syntax
Using logical data source names
Empty data source name
Configuring the solidDB® ODBC Data Source for Windows
Using solidDB® ODBC Driver with unixODBC
Retrieving user login information
solidDB® ODBC API