Advantage SQL Engine
Returns a result set containing all tables currently opened on the server.
EXECUTE PROCEDURE sp_mgGetAllTables()
TableName (O) |
Fully qualified path to the table. |
LockType (O) |
Type of locking mode the table was opened with. |
LockTypeValue (O) |
Integer value of the lock type. This is the same value as is returned in the ADS_MGMT_TABLE_INFO structure by the AdsMgGetOpenTables API. |
The LockType parameter returns the following values. The corresponding LockTypeValue is given in parentheses.
ADS (1) for Advantage Proprietary Locking,
CDX (2) for Advantage Compatibility Locking on a DBF/CDX file and,
NTX (3) for Advantage Compatibility Locking on a DBF/NTX file.
ADT (4) for Advantage Compatibility Locking on an ADT table opened by Advantage Local Server.
Note With Advantage Local Server, sp_mgGetAllTables will only return information on tables opened from the instance of Advantage Local Server currently loaded into memory. Information about tables loaded from other instances of Advantage Local Server will not be returned.
EXECUTE PROCEDURE sp_mgGetAllGables();
See Also