SonicBase. In-memory embedded or distributed streaming sql database

SQL Describe Table Statement

Describes a table. In addition to the table, the indices associated with that table are returned.

Syntax

DESCRIBE TABLE table_name
table_name:  name of the table to describe


Example


PreparedStatement stmt = conn.prepareStatement("describe table persons")
ResultSet rs = stmt.executeQuery();
while (rs.next()) {
    System.out.println(rs.getString(1));
}