Delimiter //
/**
 * Table des suppressions pour l'importation des MATCHINGCODES
 */
Drop Procedure if exists LOADER_CREATE_TABLE_MATCHINGCODES_MATCHINGCODES_TOREMOVE//
Create Procedure LOADER_CREATE_TABLE_MATCHINGCODES_MATCHINGCODES_TOREMOVE ()
Begin

    Drop Table If Exists LOADER_MATCHINGCODES_MATCHINGCODES_TOREMOVE;

    Create Table LOADER_MATCHINGCODES_MATCHINGCODES_TOREMOVE(

--         -- champs pour le traitements de l'import
--         LOADER_STATUS_ID_LOADER_STATUS Int Not Null,
-- 
--         ID_LOADER_MATCHINGCODES_MATCHINGCODES_TOREMOVE Int Unsigned Not Null Auto_increment,
        ID_MATCHCOD Int Not Null,

        -- contraintes et indexes
--         Primary Key (ID_LOADER_MATCHINGCODES_MATCHINGCODES_TOREMOVE)
        Primary Key (ID_MATCHCOD)
--         , Index (LOADER_STATUS_ID_LOADER_STATUS)
--         , Index (ID_MATCHCOD)

    ) ;

End //

Delimiter ;
CALL LOADER_CREATE_TABLE_MATCHINGCODES_MATCHINGCODES_TOREMOVE();