SHOW Statement
You are looking at an older version of the documentation. The latest version is found here.
The SHOW
statement can be used to display a variety of information. It is not yet a language feature of the Data Virtuality Server and is handled only in the JDBC client.
Usage:
SHOW
- the inverse ofSET
, shows the property value for the given property, returns a result set with a single string column with a name matching the property key.SHOW PLAN
- returns a resultset with a clob columnPLAN_TEXT
, an XML columnPLAN_XML
, and a clob columnDEBUG_LOG
with a row containing the values from the previously executed query. IfSHOWPLAN
isOFF
or no plan is available, no rows are returned. IfSHOWPLAN
is not set toDEBUG
, thenDEBUG_LOG
will return a null value.SHOW ANNOTATIONS
- returns a resultset with string columnsCATEGORY
,PRIORITY
,ANNOTATION
,RESOLUTION
and a row for each annotation on the previously executed query. IfSHOWPLAN
isOFF
or no plan is available, no rows are returned.SHOW ALL
- returns a resultset with aNAME
string column and aVALUE
string column with a row entry for every property value. TheSHOW
statement is most commonly used to retrieve the query plan, see the plan debug example.