CREATE TABLE fnd_user_roles_association (
    USER_ROLE_ID             NUMBER(18, 0),
    USER_ID                  NUMBER(18, 0)    NOT NULL,
    ROLE_ID                  NUMBER(18, 0)    NOT NULL,
    BUSINESS_GROUP_ID        NUMBER(18, 0)    NOT NULL,
    ROLE_GUID                VARCHAR2(256)    NOT NULL,
    METHOD_CODE              VARCHAR2(120)    NOT NULL,
    ACTIVE_FLAG              VARCHAR2(120)    NOT NULL,
    TERMINATED_FLAG          VARCHAR2(120)    NOT NULL,
    START_DATE               DATE             NOT NULL,
    END_DATE                 DATE         ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    USER_ROLE_ID             NUMBER(18, 0),
    USER_ID                  NUMBER(18, 0)    NOT NULL,
    ROLE_ID                  NUMBER(18, 0)    NOT NULL,
    BUSINESS_GROUP_ID        NUMBER(18, 0)    NOT NULL,
    ROLE_GUID                VARCHAR2(256)    NOT NULL,
    METHOD_CODE              VARCHAR2(120)    NOT NULL,
    ACTIVE_FLAG              VARCHAR2(120)    NOT NULL,
    TERMINATED_FLAG          VARCHAR2(120)    NOT NULL,
    START_DATE               DATE             NOT NULL,
    END_DATE                 DATE         ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    CONSTRAINT pk_fnd_user_roles_association PRIMARY KEY (USER_ROLE_ID, USER_ROLE_ID)
);
