导出大数据方法。批量导BOM
create table CUX_IMPORT_DATA_E45 as select * from CUX_IMPORT_DATA_L11 where 1>2; CREATE TABLE CUX.lmh_segment1_E41 AS SELECT * FROM CUX.lmh_segment1_L11 WHERE 1>2; CUX.lmh_segment1_E41 CREATE TABLE CUX_IMPORT_DATA_E41 AS SELECT * FROM CUX_IMPORT_DATA_L11 WHERE 1>2 DELETE FROM CUX_IMPORT_DATA_E41; 插入表中 INSERT INTO CUX_IMPORT_DATA_E41(A,ID) select BBO.BILL_SEQUENCE_ID,rownum from BOM_BILL_OF_MATERIALS BBO, mtl_system_items_b msi where bbo.ORGANIZATION_ID = msi.ORGANIZATION_ID and bbo.ASSEMBLY_ITEM_ID = msi.inventory_item_id and msi.ORGANIZATION_ID = 140 and msi.inventory_item_status_code='Active