SQL_IsSameConnection Function

Tells whether two database handles both point to the same database connection.

bool SQL_IsSameConnection(Handle hndl1, Handle hndl2)

Parameters

Handle hndl1

First database Handle.

Handle hndl2

Second database Handle.

Return Value

True if the Handles point to the same connection, false otherwise.

Errors

Invalid Handle.