DROP SEQUENCE PSIM.RPT_PSIM_S;

CREATE SEQUENCE PSIM.RPT_PSIM_S
  START WITH 718333
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 25
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM RPT_PSIM_S FOR PSIM.RPT_PSIM_S;


GRANT SELECT ON PSIM.RPT_PSIM_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.QUEUE_ID;

CREATE SEQUENCE PSIM.QUEUE_ID
  START WITH 564
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM QUEUE_ID FOR PSIM.QUEUE_ID;


GRANT SELECT ON PSIM.QUEUE_ID TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_VIRTUAL_TABLE_TYPE_S;

CREATE SEQUENCE PSIM.PS_VIRTUAL_TABLE_TYPE_S
  START WITH 23
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_VIRTUAL_TABLE_TYPE_S FOR PSIM.PS_VIRTUAL_TABLE_TYPE_S;


GRANT SELECT ON PSIM.PS_VIRTUAL_TABLE_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_VERIFICATION_S;

CREATE SEQUENCE PSIM.PS_VERIFICATION_S
  START WITH 55342780
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_VERIFICATION_S FOR PSIM.PS_VERIFICATION_S;


GRANT SELECT ON PSIM.PS_VERIFICATION_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_VERIFICATION_LEVEL_TYPE_S;

CREATE SEQUENCE PSIM.PS_VERIFICATION_LEVEL_TYPE_S
  START WITH 6
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_VERIFICATION_LEVEL_TYPE_S FOR PSIM.PS_VERIFICATION_LEVEL_TYPE_S;


GRANT SELECT ON PSIM.PS_VERIFICATION_LEVEL_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_TOPIC_S;

CREATE SEQUENCE PSIM.PS_TOPIC_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_TOPIC_S FOR PSIM.PS_TOPIC_S;


GRANT SELECT ON PSIM.PS_TOPIC_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_SYSTEM_OF_INTEREST_TYPE_S;

CREATE SEQUENCE PSIM.PS_SYSTEM_OF_INTEREST_TYPE_S
  START WITH 2333
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_SYSTEM_OF_INTEREST_TYPE_S FOR PSIM.PS_SYSTEM_OF_INTEREST_TYPE_S;


GRANT SELECT ON PSIM.PS_SYSTEM_OF_INTEREST_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_SSN_S;

CREATE SEQUENCE PSIM.PS_SSN_S
  START WITH 458276919
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_SSN_S FOR PSIM.PS_SSN_S;


GRANT SELECT ON PSIM.PS_SSN_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_SSN_HISTORY_S;

CREATE SEQUENCE PSIM.PS_SSN_HISTORY_S
  START WITH 484493500
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_SSN_HISTORY_S FOR PSIM.PS_SSN_HISTORY_S;


GRANT SELECT ON PSIM.PS_SSN_HISTORY_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_VPID_S;

CREATE SEQUENCE PSIM.PS_PERSON_VPID_S
  START WITH 433478458
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 50
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_VPID_S FOR PSIM.PS_PERSON_VPID_S;


GRANT SELECT ON PSIM.PS_PERSON_VPID_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_TRAIT_S;

CREATE SEQUENCE PSIM.PS_PERSON_TRAIT_S
  START WITH 439607588
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_TRAIT_S FOR PSIM.PS_PERSON_TRAIT_S;


GRANT SELECT ON PSIM.PS_PERSON_TRAIT_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_TRAIT_HISTORY_S;

CREATE SEQUENCE PSIM.PS_PERSON_TRAIT_HISTORY_S
  START WITH 490905952
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_TRAIT_HISTORY_S FOR PSIM.PS_PERSON_TRAIT_HISTORY_S;


GRANT SELECT ON PSIM.PS_PERSON_TRAIT_HISTORY_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_PHONE_S;

CREATE SEQUENCE PSIM.PS_PERSON_PHONE_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_PHONE_S FOR PSIM.PS_PERSON_PHONE_S;


GRANT SELECT ON PSIM.PS_PERSON_PHONE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_PHONE_HISTORY_S;

CREATE SEQUENCE PSIM.PS_PERSON_PHONE_HISTORY_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_PHONE_HISTORY_S FOR PSIM.PS_PERSON_PHONE_HISTORY_S;


GRANT SELECT ON PSIM.PS_PERSON_PHONE_HISTORY_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_NPI_S;

CREATE SEQUENCE PSIM.PS_PERSON_NPI_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 25
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_NPI_S FOR PSIM.PS_PERSON_NPI_S;


GRANT SELECT ON PSIM.PS_PERSON_NPI_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_NPI_HISTORY_S;

CREATE SEQUENCE PSIM.PS_PERSON_NPI_HISTORY_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 25
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_NPI_HISTORY_S FOR PSIM.PS_PERSON_NPI_HISTORY_S;


GRANT SELECT ON PSIM.PS_PERSON_NPI_HISTORY_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_NAME_S;

CREATE SEQUENCE PSIM.PS_PERSON_NAME_S
  START WITH 490637075
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_NAME_S FOR PSIM.PS_PERSON_NAME_S;


GRANT SELECT ON PSIM.PS_PERSON_NAME_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_NAME_HISTORY_S;

CREATE SEQUENCE PSIM.PS_PERSON_NAME_HISTORY_S
  START WITH 561569329
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_NAME_HISTORY_S FOR PSIM.PS_PERSON_NAME_HISTORY_S;


GRANT SELECT ON PSIM.PS_PERSON_NAME_HISTORY_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_CORRELATION_S;

CREATE SEQUENCE PSIM.PS_PERSON_CORRELATION_S
  START WITH 439493793
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_CORRELATION_S FOR PSIM.PS_PERSON_CORRELATION_S;


GRANT SELECT ON PSIM.PS_PERSON_CORRELATION_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_ALIAS_LINK_S;

CREATE SEQUENCE PSIM.PS_PERSON_ALIAS_LINK_S
  START WITH 1624815
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_ALIAS_LINK_S FOR PSIM.PS_PERSON_ALIAS_LINK_S;


GRANT SELECT ON PSIM.PS_PERSON_ALIAS_LINK_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_ADDRESS_S;

CREATE SEQUENCE PSIM.PS_PERSON_ADDRESS_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_ADDRESS_S FOR PSIM.PS_PERSON_ADDRESS_S;


GRANT SELECT ON PSIM.PS_PERSON_ADDRESS_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_PERSON_ADDRESS_H_S;

CREATE SEQUENCE PSIM.PS_PERSON_ADDRESS_H_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_PERSON_ADDRESS_H_S FOR PSIM.PS_PERSON_ADDRESS_H_S;


GRANT SELECT ON PSIM.PS_PERSON_ADDRESS_H_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_MESSAGE_LOG_S;

CREATE SEQUENCE PSIM.PS_MESSAGE_LOG_S
  START WITH 266406589
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_MESSAGE_LOG_S FOR PSIM.PS_MESSAGE_LOG_S;


GRANT SELECT ON PSIM.PS_MESSAGE_LOG_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_LOG_S;

CREATE SEQUENCE PSIM.PS_LOG_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_LOG_S FOR PSIM.PS_LOG_S;


GRANT SELECT ON PSIM.PS_LOG_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_FILE_BASED_ENUM_S;

CREATE SEQUENCE PSIM.PS_FILE_BASED_ENUM_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_FILE_BASED_ENUM_S FOR PSIM.PS_FILE_BASED_ENUM_S;


GRANT SELECT ON PSIM.PS_FILE_BASED_ENUM_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_EDIT_TYPE_S;

CREATE SEQUENCE PSIM.PS_EDIT_TYPE_S
  START WITH 151
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_EDIT_TYPE_S FOR PSIM.PS_EDIT_TYPE_S;


GRANT SELECT ON PSIM.PS_EDIT_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_EDIT_S;

CREATE SEQUENCE PSIM.PS_EDIT_S
  START WITH 8238526
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_EDIT_S FOR PSIM.PS_EDIT_S;


GRANT SELECT ON PSIM.PS_EDIT_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_DUPE_RESOLUTION_TYPE_S;

CREATE SEQUENCE PSIM.PS_DUPE_RESOLUTION_TYPE_S
  START WITH 4
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_DUPE_RESOLUTION_TYPE_S FOR PSIM.PS_DUPE_RESOLUTION_TYPE_S;


GRANT SELECT ON PSIM.PS_DUPE_RESOLUTION_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_DUPE_REASON_TYPE_S;

CREATE SEQUENCE PSIM.PS_DUPE_REASON_TYPE_S
  START WITH 3
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_DUPE_REASON_TYPE_S FOR PSIM.PS_DUPE_REASON_TYPE_S;


GRANT SELECT ON PSIM.PS_DUPE_REASON_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_DUPE_POTENTIAL_S;

CREATE SEQUENCE PSIM.PS_DUPE_POTENTIAL_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_DUPE_POTENTIAL_S FOR PSIM.PS_DUPE_POTENTIAL_S;


GRANT SELECT ON PSIM.PS_DUPE_POTENTIAL_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_CORRELATION_CATEGORY_S;

CREATE SEQUENCE PSIM.PS_CORRELATION_CATEGORY_S
  START WITH 438792164
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_CORRELATION_CATEGORY_S FOR PSIM.PS_CORRELATION_CATEGORY_S;


GRANT SELECT ON PSIM.PS_CORRELATION_CATEGORY_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_CHANGE_TYPE_S;

CREATE SEQUENCE PSIM.PS_CHANGE_TYPE_S
  START WITH 4
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_CHANGE_TYPE_S FOR PSIM.PS_CHANGE_TYPE_S;


GRANT SELECT ON PSIM.PS_CHANGE_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_CATEGORY_TYPE_S;

CREATE SEQUENCE PSIM.PS_CATEGORY_TYPE_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_CATEGORY_TYPE_S FOR PSIM.PS_CATEGORY_TYPE_S;


GRANT SELECT ON PSIM.PS_CATEGORY_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_APPLICATION_S;

CREATE SEQUENCE PSIM.PS_APPLICATION_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_APPLICATION_S FOR PSIM.PS_APPLICATION_S;


GRANT SELECT ON PSIM.PS_APPLICATION_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.PS_ADT_EVENT_S;

CREATE SEQUENCE PSIM.PS_ADT_EVENT_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM PS_ADT_EVENT_S FOR PSIM.PS_ADT_EVENT_S;


GRANT SELECT ON PSIM.PS_ADT_EVENT_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_TEAM_MEMBER_S;

CREATE SEQUENCE PSIM.IMDQ_TEAM_MEMBER_S
  START WITH 321
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_TEAM_MEMBER_S FOR PSIM.IMDQ_TEAM_MEMBER_S;


GRANT SELECT ON PSIM.IMDQ_TEAM_MEMBER_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_TASK_VPIDS_S;

CREATE SEQUENCE PSIM.IMDQ_TASK_VPIDS_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_TASK_VPIDS_S FOR PSIM.IMDQ_TASK_VPIDS_S;


GRANT SELECT ON PSIM.IMDQ_TASK_VPIDS_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_TASK_TRACKING_NUMBER_S;

CREATE SEQUENCE PSIM.IMDQ_TASK_TRACKING_NUMBER_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_TASK_TRACKING_NUMBER_S FOR PSIM.IMDQ_TASK_TRACKING_NUMBER_S;


GRANT SELECT ON PSIM.IMDQ_TASK_TRACKING_NUMBER_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_TASK_SOI_REF_S;

CREATE SEQUENCE PSIM.IMDQ_TASK_SOI_REF_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_TASK_SOI_REF_S FOR PSIM.IMDQ_TASK_SOI_REF_S;


GRANT SELECT ON PSIM.IMDQ_TASK_SOI_REF_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_TASK_S;

CREATE SEQUENCE PSIM.IMDQ_TASK_S
  START WITH 944250
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_TASK_S FOR PSIM.IMDQ_TASK_S;


GRANT SELECT ON PSIM.IMDQ_TASK_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_TASK_NOTES_S;

CREATE SEQUENCE PSIM.IMDQ_TASK_NOTES_S
  START WITH 2656
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_TASK_NOTES_S FOR PSIM.IMDQ_TASK_NOTES_S;


GRANT SELECT ON PSIM.IMDQ_TASK_NOTES_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_TASK_H_S;

CREATE SEQUENCE PSIM.IMDQ_TASK_H_S
  START WITH 931005
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_TASK_H_S FOR PSIM.IMDQ_TASK_H_S;


GRANT SELECT ON PSIM.IMDQ_TASK_H_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_TASK_EXPN_REF_S;

CREATE SEQUENCE PSIM.IMDQ_TASK_EXPN_REF_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_TASK_EXPN_REF_S FOR PSIM.IMDQ_TASK_EXPN_REF_S;


GRANT SELECT ON PSIM.IMDQ_TASK_EXPN_REF_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_ROLE_S;

CREATE SEQUENCE PSIM.IMDQ_ROLE_S
  START WITH 42
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_ROLE_S FOR PSIM.IMDQ_ROLE_S;


GRANT SELECT ON PSIM.IMDQ_ROLE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_MEM_ROLE_REF_S;

CREATE SEQUENCE PSIM.IMDQ_MEM_ROLE_REF_S
  START WITH 406
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_MEM_ROLE_REF_S FOR PSIM.IMDQ_MEM_ROLE_REF_S;


GRANT SELECT ON PSIM.IMDQ_MEM_ROLE_REF_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_MEMBER_SITES_S;

CREATE SEQUENCE PSIM.IMDQ_MEMBER_SITES_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_MEMBER_SITES_S FOR PSIM.IMDQ_MEMBER_SITES_S;


GRANT SELECT ON PSIM.IMDQ_MEMBER_SITES_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_EXCEPTION_TYPE_S;

CREATE SEQUENCE PSIM.IMDQ_EXCEPTION_TYPE_S
  START WITH 162
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_EXCEPTION_TYPE_S FOR PSIM.IMDQ_EXCEPTION_TYPE_S;


GRANT SELECT ON PSIM.IMDQ_EXCEPTION_TYPE_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_EXCEPTION_TRAIT_S;

CREATE SEQUENCE PSIM.IMDQ_EXCEPTION_TRAIT_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_EXCEPTION_TRAIT_S FOR PSIM.IMDQ_EXCEPTION_TRAIT_S;


GRANT SELECT ON PSIM.IMDQ_EXCEPTION_TRAIT_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_EXCEPTION_S;

CREATE SEQUENCE PSIM.IMDQ_EXCEPTION_S
  START WITH 556466
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_EXCEPTION_S FOR PSIM.IMDQ_EXCEPTION_S;


GRANT SELECT ON PSIM.IMDQ_EXCEPTION_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_EXCEPTION_IDS_S;

CREATE SEQUENCE PSIM.IMDQ_EXCEPTION_IDS_S
  START WITH 102179
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_EXCEPTION_IDS_S FOR PSIM.IMDQ_EXCEPTION_IDS_S;


GRANT SELECT ON PSIM.IMDQ_EXCEPTION_IDS_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_ACTION_S;

CREATE SEQUENCE PSIM.IMDQ_ACTION_S
  START WITH 2552
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_ACTION_S FOR PSIM.IMDQ_ACTION_S;


GRANT SELECT ON PSIM.IMDQ_ACTION_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IMDQ_ACTION_REF_S;

CREATE SEQUENCE PSIM.IMDQ_ACTION_REF_S
  START WITH 424
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IMDQ_ACTION_REF_S FOR PSIM.IMDQ_ACTION_REF_S;


GRANT SELECT ON PSIM.IMDQ_ACTION_REF_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IDM_STATION_MAP_S;

CREATE SEQUENCE PSIM.IDM_STATION_MAP_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IDM_STATION_MAP_S FOR PSIM.IDM_STATION_MAP_S;


GRANT SELECT ON PSIM.IDM_STATION_MAP_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IDM_NOTIFICATION_S;

CREATE SEQUENCE PSIM.IDM_NOTIFICATION_S
  START WITH 171
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IDM_NOTIFICATION_S FOR PSIM.IDM_NOTIFICATION_S;


GRANT SELECT ON PSIM.IDM_NOTIFICATION_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IDM_NOTIFICATION_GROUP_S;

CREATE SEQUENCE PSIM.IDM_NOTIFICATION_GROUP_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IDM_NOTIFICATION_GROUP_S FOR PSIM.IDM_NOTIFICATION_GROUP_S;


GRANT SELECT ON PSIM.IDM_NOTIFICATION_GROUP_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IDM_NOTE_REF_S;

CREATE SEQUENCE PSIM.IDM_NOTE_REF_S
  START WITH 1
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IDM_NOTE_REF_S FOR PSIM.IDM_NOTE_REF_S;


GRANT SELECT ON PSIM.IDM_NOTE_REF_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.IDM_MESSAGE_LOG_S;

CREATE SEQUENCE PSIM.IDM_MESSAGE_LOG_S
  START WITH 35019229
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 30
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM IDM_MESSAGE_LOG_S FOR PSIM.IDM_MESSAGE_LOG_S;


GRANT SELECT ON PSIM.IDM_MESSAGE_LOG_S TO PSIM_SEQ_R;
DROP SEQUENCE PSIM.EVENT_ID;

CREATE SEQUENCE PSIM.EVENT_ID
  START WITH 91737058
  MAXVALUE 999999999999999999999999999
  MINVALUE 1
  NOCYCLE
  CACHE 20
  NOORDER;


CREATE OR REPLACE PUBLIC SYNONYM EVENT_ID FOR PSIM.EVENT_ID;


GRANT SELECT ON PSIM.EVENT_ID TO PSIM_SEQ_R;
