SQL Queries - CAST Knowledge Base - Queries on objects - How to get the type of objects counted in CMS

Purpose of Query

To find out the types of objects counted in CMS (View analysis unit content).

Applicable CAST Version

ReleaseYes/No
8.3.x
8.2.x

Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS

Query for CSS

SELECT t.*
FROM   Typ t    ,
       TypCat tc,
       Cat c
WHERE  t.IdTyp        = tc.IdTyp
AND    tc.IdCatParent = c.IdCat
AND    c.IdCat        = 6100

Query result example

Query gives the following result:

idtyp integertypname character varying (255)typ dsc character varying (255)statuts character (10)
11SQL TableSQL TableACTIVE
2141260CAST_TSQL_UDT_TABLESQL Server UDT TABLEACTIVE
3141449CAST_ABAP_SAPUnresolvedTableSAP unresolved TableACTIVE
4133031SAPTableSAP TableACTIVE
5138017CAST_Oracle_RelationalTableOracle tableACTIVE
6140697CAST_Oracle_ObjectTableOracle object tableACTIVE
7138791CAST_Oracle_MaterializedViewOracle materialized viewACTIVE
8141046CAST_DB2ZOS_RelationalTableDB2 z/OS relational tableDEPRECATED
9140978CAST_ASETSQL_RelationalTableSybase tableACTIVE
10138871CAST_MSTSQL_RelationalTableMicrosoft tableACTIVE

Query result interpretation

The result displays all the type of objects counted in CMS. This types are based on category 6100 DataBase Table and computed by the stored procedure APM_SCOPE_TABLES.

Query for Oracle

Same as CSS

Query result example

Query result interpretation

Query for SQL server

Same as CSS

Enter the SQL query

Query result example

Query result interpretation

Notes/comments

Related Pages

Count of tables in CMS module overview is different from the count of tables in the dashboard