Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

VALUE

SQL statement to get next correct sequence

PERSON_ID

SELECT YA096_SQ1_BI_PERSON_ID.nextval FROM dual;

STAMP_TXT_NBR

SELECT NEXT_STAMP_NBR from V_NEXT_AVAILABLE_STAMP_NBR;



Sample Script: after a script such as this one was run the account will show in the list of available CAMES.

SET DEFINE OFF;
Insert into CAMIS.YA096_PERSON
(PERSON_ID, LAST_NAME_NM, FIRST_NAME_NM, EMAIL_TXT, LANGUAGE_CORRESPONDENCE_CD,
LANGUAGE_SERVICE_CD, EXTERNAL_PERSON_IND, DATE_CREATED_DTE, DATE_LAST_UPDATE_DTE, USER_LAST_UPDATE_ID)
Values
(558662, 'AAAATestAcct', 'Noreen', 'noreen.dertinger@tc.gc.ca', 'B',
'B', 1, TO_DATE('2023/07/21 7:43:59 AM', 'YYYY/MM/DD HH:MI:SS AM'), TO_DATE('2023/07/21 7:45:47 AM', 'YYYY/MM/DD HH:MI:SS AM'), 557838);

...