del sql

DELETE  RPT_SUMDISTDATE_INOUT FROM RPT_SUMDISTDATE_INOUT,#temp_table_distinout
 WHERE
 RPT_SUMDISTDATE_INOUT.DIST_ID=#temp_table_distinout.dist_id
 AND RPT_SUMDISTDATE_INOUT.BILL_DATE=#temp_table_distinout.bill_date

你可能感兴趣的:(sql)