SQL-001: Generate IMAGE_AFFILIATION_SEQ_NUM¶
This statement retrieves the next value from the IMAGE_AFFILIATION_SEQ Oracle sequence via the DUAL pseudo-table. It generates the primary key used when inserting a new IMAGE_AFFILIATION row.
Classification¶
| Field | Value |
|---|---|
| SQL ID | SQL-001 |
| Operation type | Sequence |
| Execution method | Inline SQL |
| Database | Oracle |
| Schema | SYS (DUAL) |
| Command type | Text** |
| Business object | clsImageAffiliation |
| Criteria property | CreateSQL |
| Lifecycle method | BeforeCreate |
Parameters¶
No parameters.
Tables¶
| Table | Access | Columns used |
|---|---|---|
| DUAL | SELECT (NEXTVAL) | IMAGE_AFFILIATION_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\clsImageAffiliation.vb