excel转换为sql命令

=CONCATENATE("insert into order_detail(LINE_ID, ORDER_NUM, ORDER_LINE_NUM, PART_NUM, ITEM_FLAG, PART_DESC, PART_PRICE, DISCOUNT_AMOUNT, FINAL_PRICE, QTY, "&
" PRINTED_FLAG, REMARK, INSERT_BY, INSERT_DATE, UNIT, ENERGYSAVING_SUBSIDY_FLAG, PRINT_ENABLE, DETAIL_SHIPPING_COST, INVOICE_SEQUENCE_NUMBER, NEGATIVE_FLAG, OPERATORS_INVOICE_AMOUNT, CARD_PAID_PARTPRICE, CARD_PAID_SHIPPINGPRICE)"&
" values (IV_INVOICE_ORDER_DETAIL_SEQ.NEXTVAL, 'VO"&C2&"', 'VO"&C2&"1', '5074649059', 'ZSP', '"&F2&"', "&G2&", 0.00, "&G2&", "&H2&", "&
" 'Y', '', 'LISONG', sysdate, '"&I2&"', 'N', 'Y', 0.00, '1', 'N', 0.00, 0.00, 0.00);")

你可能感兴趣的:(excel转换为sql命令)