Using DataDirect Test™ : DataDirect Test™ Tutorial : Retrieving Database Metadata

Retrieving Database Metadata
1.
From the Connection window menu, select Connection / Get DB Meta Data.
2.
Select MetaData / Show Meta Data. Information about the JDBC driver and the database to which you are connected is returned.
Connection window showing that information about the JDBC driver and the database to which you are connected is returned
3.
Metadata also allows you to query the database catalog (enumerate the tables in the database, for example). In this example, we will query all tables owned by the user SCOTT.
4.
Select MetaData / Tables.
5.
Get Tables dialog box with a value of SCOTT in the Schema Pattern field
6.
Click Ok. The Connection window indicates that getTables() succeeded.
7.
Select Results / Show All Results. All tables owned by SCOTT are returned.
Connection window listing all of the tables owned by SCOTT

© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.