CREATE VIEW OU_CSDB.INSTR_DESC_FULL_MARS (
    A_KEY	,
    IDIRINSTRUMENT	,
    ISIN	,
    MOO_INSTR_ID	,
    SNP_INSTR_ID	,
    FITCH_IDENTIFIER	,
    DBRS_IDENTIFIER	,
    EA_STATUS	,
    IS_TMS	,
    DBRS_COVERED_BOND_PROGRAM	,
    FITCH_PRG_IDENTIFIER	,
    MOO_DEAL_NUMBER	,
    SNP_PROGRAM_ID	,
    IDIRDEBTTYPE	,
    SNP_DEBT_TYPE	,
    MOODY_SENIORITY	,
    FITCH_DEBT_LEVEL_CODE	,
    DBRS_RANK_TYPE	,
    DBRS_SECURITY_TYPE	,
    SCO_DEBT_TYPE	,
    SCO_INSTR_ID	,
    SCO_COVERED_BOND_PROGRAM	,
    SCO_CATEGORY	,
    PLACEHOLDER15	,
    PLACEHOLDER16	,
    PLACEHOLDER17	,
    PLACEHOLDER18	,
    PLACEHOLDER19	,
    PLACEHOLDER20	,
    A_ETL_LOAD_SET_FK --  A_WORKFLOW_HISTORY_KEY
) 
AS
SELECT 
    A_KEY	,
    IDIRINSTRUMENT	,
    ISIN	,
    MOO_INSTR_ID	,
    SNP_INSTR_ID	,
    FITCH_IDENTIFIER	,
    DBRS_IDENTIFIER	,
    EA_STATUS	,
    IS_TMS	,
    DBRS_COVERED_BOND_PROGRAM	,
    FITCH_PRG_IDENTIFIER	,
    MOO_DEAL_NUMBER	,
    SNP_PROGRAM_ID	,
    IDIRDEBTTYPE	,
    SNP_DEBT_TYPE	,
    MOODY_SENIORITY	,
    FITCH_DEBT_LEVEL_CODE	,
    DBRS_RANK_TYPE	,
    DBRS_SECURITY_TYPE	,
    SCO_DEBT_TYPE	,
    SCO_INSTR_ID	,
    SCO_COVERED_BOND_PROGRAM	,
    SCO_CATEGORY	,
    PLACEHOLDER15	,
    PLACEHOLDER16	,
    PLACEHOLDER17	,
    PLACEHOLDER18	,
    PLACEHOLDER19	,
    PLACEHOLDER20	,
    A_WORKFLOW_HISTORY_KEY	 as A_ETL_LOAD_SET_FK 
from
    "ODS"."CSDB_INSTR_DESC_FULL_ODS"  