CREATE TABLE cso_gsr_search_result (
    SESSION_ID                  VARCHAR2(128) ,
    INSTANCE                    NUMBER        ,
    CONTENT_TEXT_ID             VARCHAR2(128) ,
    DOCUMENT_ID                 VARCHAR2(200) ,
    VERSION                     VARCHAR2(84)  ,
    LOCALE_CODE                 VARCHAR2(256) ,
    LOCALE_DESC                 VARCHAR2(400) ,
    WORKFLOW_STEP_ID            VARCHAR2(128) ,
    WORKFLOW_STEP_NAME          VARCHAR2(4000),
    CONTENT_CHANNEL_ID          VARCHAR2(128) ,
    CHANNEL_NAME                VARCHAR2(4000),
    INDEX_MASTER_IDENTIFIERS    VARCHAR2(4000),
    SELECTED                    CHAR(4)       ,
    NO_SUCH_COLUMN              CHAR(4)       ,
    GSR_DOC_DETAIL_GUID         VARCHAR2(128)     NOT NULL,
    SESSION_ID                  VARCHAR2(128) ,
    INSTANCE                    NUMBER        ,
    CONTENT_TEXT_ID             VARCHAR2(128) ,
    DOCUMENT_ID                 VARCHAR2(200) ,
    VERSION                     VARCHAR2(84)  ,
    LOCALE_CODE                 VARCHAR2(256) ,
    LOCALE_DESC                 VARCHAR2(400) ,
    WORKFLOW_STEP_ID            VARCHAR2(128) ,
    WORKFLOW_STEP_NAME          VARCHAR2(4000),
    CONTENT_CHANNEL_ID          VARCHAR2(128) ,
    CHANNEL_NAME                VARCHAR2(4000),
    INDEX_MASTER_IDENTIFIERS    VARCHAR2(4000),
    SELECTED                    CHAR(4)       ,
    NO_SUCH_COLUMN              CHAR(4)       ,
    GSR_DOC_DETAIL_GUID         VARCHAR2(128)     NOT NULL,
    CONSTRAINT pk_cso_gsr_search_result PRIMARY KEY (SESSION_ID, INSTANCE, CONTENT_TEXT_ID, SESSION_ID, INSTANCE, CONTENT_TEXT_ID)
);
