Returns the types of available tables in the current database.
 

1 connection.metadata.getTableTypes

<connection.metadata.getTableTypes />
Example

Shows the types of tables in the current database.

Copy
<xsql-script name='connection_metadata.getTableTypes_sample1'>
    <body>
        <println>
            <connection.metadata.getTableTypes />
        </println>
    </body>
</xsql-script>
Copy
+------------+
|table_type  |
+------------+
|SYNONYM     |
|SYSTEM TABLE|
|TABLE       |
|VIEW        |
+------------+