ttDataStoreStatus
dataStore parameter is specified as NULL, then the status of all active databases is returned.
The result set is similar to the printed output of the ttStatus utility.
Required Privilege
This procedure requires no privilege.
Syntax
ttDataStoreStatus('dataStore')Parameters
ttDataStoreStatus has the parameter:
| Parameter | Type | Description |
|---|---|---|
|
|
|
Full path name of desired database or |
Result Set
ttDataStoreStatus returns the result set:
| Column | Type | Description |
|---|---|---|
|
|
|
Full path name of database. |
|
|
|
Process ID. |
|
|
|
Context value of connection. |
|
|
|
Type of process connected. The result can be one of the following:
|
|
|
|
A printable version of the shared memory ID that the database occupies. |
|
|
|
The symbolic name of the database connection. |
|
|
|
The numeric ID of the database connection. |
Examples
CALL ttDataStoreStatus('/data/Purchasing');