To make a local (non-RPC-based) ODBC connection to the SMA server, you must connect to a SMA server by using a connection string that uses the following syntax:
sma protocol-nameport-number-or-pipe-name
For example:
sma tcp 2315
Where you define the SMA connect string depends upon the API or driver manager:
▪ ODBC API: When using the ODBC API, define the SMA-specific connect string in the SQLConnect function call.
For example, the following ODBC API code connects directly to the local SMA solidDB server with user name dba and password dba: