SQL-002: Generate IMAGE_SEQ_NUM¶
This statement retrieves the next value from the image_seq Oracle sequence via the DUAL pseudo-table. It generates the primary key used when inserting a new IMAGE row during image indexing.
Classification¶
| Field | Value |
|---|---|
| SQL ID | SQL-002 |
| Operation type | Sequence |
| Execution method | Inline SQL |
| Database | Oracle |
| Schema | SYS (DUAL) |
| Command type | Text** |
| Business object | clsImageIdx |
| Criteria property | CreateSQL |
| Lifecycle method | BeforeCreate |
Parameters¶
No parameters.
Tables¶
| Table | Access | Columns used |
|---|---|---|
| DUAL | SELECT (NEXTVAL) | image_seq.nextval |
Sample SQL¶
Operations and processes¶
Note: Statements marked with
**could not be confirmed; treat as unknown until verified.
Sources¶
Business\SAIF.Business.Imaging\clsImageIdx.vb