AdsCloseCachedTables

Advantage Client Engine

 

Close all cached tables on the given connection

Syntax

UNSIGNED32

AdsCloseCachedTables( ADSHANDLE hConnection )

Parameters

hConnection (I)

Handle of the connection to close all cached tables on.

Remarks

AdsCloseCachedTables can be used to close all cached tables on a given connection. All cached closed tables on the client will be closed, as well as all cache closed tables on the server that might have been used when executing SQL statements.

This API can be useful if you know another application (or some other instance of the same application) will require exclusive access to a table that has been used by the existing application, or if you want tables used by some server-side functionality (like an extended procedure, or a trigger) to be available for exclusive use by the client at some later time.

See Also

AdsCacheOpenTables

AdsCacheOpenCursors

AdsCloseSQLStatement