Query
|
Calls to schema function
|
SELECT * FROM OA_TABLES
|
schema (Type=DAMOBJ_TYPE_TABLE, SearchObj=NULL)—the IP should return information about all the tables it supports.
|
SELECT * FROM OA_COLUMNS
|
schema (Type=DAMOBJ_TYPE_COLUMN, SearchObj=NULL)—the IP should return column information about all the columns of all the tables it supports.
|
SELECT * FROM OA_COLUMNS WHERE table_name = 'emp'
|
schema (Type=DAMOBJ_TYPE_COLUMN, SearchObj=damobj_column). The table_name field of the damobj_column will be set to emp—the IP should return column information about all the columns of table emp.
|
SELECT * FROM emp
or
SELECT empno FROM emp WHERE deptno > 10
|
schema (Type=DAMOBJ_TYPE_TABLE, SearchObj=damobj_table). The table_name field of the damobj_table will be set to emp—the IP should return table information about the table emp.
schema (Type=DAMOBJ_TYPE_COLUMN, SearchObj=damobj_column). The table_name field of the damobj_column will be set to emp—the IP should return Column information of all the columns of table emp.
schema (Type=DAMOBJ_TYPE_STAT, SearchObj=dmobj_stat). The table_name field of the damobj_stat will be set to emp—the IP should return Statistics information of all the columns of table emp.
|