Previous Topic: TaskNext Topic: CURRENT_INFO_SYS (Current Information System)


Task

Select the current databases or data stores along the X axis of the matrix ENTITY_TYPE/CUR_DATA_STORE. Order by current database or data store as specified in the toolset.

SELECT MT.NAME, X.NAME. UX.SEQ
  FROM
  MODEL M,
  MATRIX MT,
  MATRIX_USAGE_X UX,
  CURRENT_DATA X
  WHERE
  M.NAME = 'my model name'
  AND UX.MODEL_ID = M.ID
  AND UX.MATRIX_ID = MT.ID
  AND MT.NAME = 'ENTITY_TYPE/CUR._DATA_STORE'
  AND UX.OBJECT_ID = X.ID
ORDER BY MT.NAME, UX.SEQ;