SQL_Connect()

Examples


The SQL_Connect() function creates a new pass-through SQL connection using the current SQL login.

Syntax

SQL_Connect(SQL_connection)

Parameters

SQL_connection – A returned long integer containing the ID of the new pass-through SQL connection.

Return value

A long integer indicating the status of the pass-through SQL connection. The value 0 is returned if the connection was successfully created. Any other value indicates an error occurred.

Comments

The pass-through SQL connection is active until you use the SQL_Terminate() function to terminate it.


Documentation Feedback