Name

sql_driver_connect — Tries connecting using supplied connection string

Synopsis

integer sql_driver_connect ( in conn_str varchar );

Description

This function calls SQLDriverConnect with the supplied connection string and immediately disconnects after the call.

Parameters

As described in the SQLDriverConnect in connection string

Return Types

Returns the SQL return code (or exception on an ODBC error).