1.1.1 Names of user tables
SELECT TABLENAME FROM SYS.SYSTABLES WHERE TABLETYPE='T'
1.1.2 Information of user tables
SELECT * FROM SYS.SYSTABLES WHERE TABLETYPE='T'
1.1.3 Names of system tables
SELECT TABLENAME FROM SYS.SYSTABLES WHERE TABLETYPE='S'
1.1.4 Information of system tables
SELECT * FROM SYS.SYSTABLES WHERE TABLETYPE='S'
1.1.5 Names of views
SELECT TABLENAME FROM SYS.SYSTABLES WHERE TABLETYPE='V'
1.1.6 Information of views
SELECT * FROM SYS.SYSTABLES WHERE TABLETYPE='V'
1.1.7 Names and types of table columns
SELECT columnname, columndatatype FROM SYS.SYSTABLES t, SYS.SYSCOLUMNS c where t.TABLEID=c.REFERENCEID AND tablename='TREE' order by columnnumber
1.1.8 Information of table columns
SELECT c.* FROM SYS.SYSTABLES t, SYS.SYSCOLUMNS c where t.TABLEID=c.REFERENCEID AND tablename='TREE' order by columnnumber
1.1.9 Names of table indices
SELECT CONGLOMERATENAME FROM SYS.SYSTABLES t, SYS.SYSCONGLOMERATES c where t.TABLEID=c.TABLEID AND tablename='TREE'
1.1.10 Information of table indices
SELECT c.* FROM SYS.SYSTABLES t, SYS.SYSCONGLOMERATES c where t.TABLEID=c.TABLEID AND tablename='TREE'