The Model Table (MODEL) can be referenced from all other tables and is used for model selection. Two of its columns are described in the following:
All other tables contain at least two columns, described in the following:
This column is joined with the ID column in the MODEL table to restrict selection to objects in the selected model.
The following syntax:
SELECT FROM MODEL, table WHERE MODEL.NAME = 'my model name' AND table.MODEL_ID = MODEL.ID;
Selects all rows from table that are in model my model name.
|
Copyright © 2013 CA.
All rights reserved.
|
|