Using MultiLoad to delete
MultiLoad, unlike FastLoad, has the capability to not only insert, but can also be used for update, delete, and upserts. MultiLoad can be executed on channels and network connected systems. You can insert up to five non-empty tables using MultiLoad.Â
Traditional MLOAD
is not capable of loading data into tables that have USI-unique secondary indexes, RI-referential integrity, JI-join indexes, NoPI, or tables with triggers. But MLOADX
overcomes this limitation and loads data into any table with the earlier restrictions.
In this recipe, we will use MLOAD
to delete the rows, based on the equality conditions mentioned.Â
MLOAD
delete should be chosen over SQL delete when a large number of rows need to be deleted and the table size is big.Â
Getting ready
A user requires the following privileges/rights in order to execute the MultiLoad:
SELECT
andINSERT
(CREATE
andDROP
orDELETE
) access to the target or loading tableSELECT
,INSERT
,UPDATE
, andÂDELETE
 are required privileges...