7.18 SDO_NFE.GET_MODEL_SEQUENCE_NAME
Format
SDO_NFE.GET_MODEL_SEQUENCE_NAME( model_id IN SDO_NUMBER, tab_name IN VARCHAR2 ) RETURN VARCHAR2;
Description
Returns the sequence name for the specified model’s table.
Usage Notes
The table name must exist in the TABLE_REG_TAB table, and the name of its sequence must exist in the SEQUENCE_REG_TAB table. When a new model is created using SDO_NFE.CREATE_MODEL_STRUCTURE, all the model’s tables and sequences are automatically registered in the appropriate views and tables. When SDO_NFE.CREATE_MODEL_SEQUENCEis executed, a sequence for the model’s table is registered.
Examples
The following example gets the sequence name defined for the table that holds the feature classes of the NFE model whose ID is 1.
SELECT SDO_NFE.GET_MODEL_SEQUENCE_NAME(1, sdo_nfe.get_model_table_name(1, SDO_NFE.FT_CLASS));
Parent topic: SDO_NFE Package Subprograms