Excl data is converted into SQL script (including the date written)

="INSERT INTO UNLOAD_BOAT_FLOW_DATA(FK_SO_BOAT_NOTE_ID,FK_FLOW_ID,
UNLOAD_BOAT_ID,WORKER_ID,CABINNO,PERBKTIME,PLC_PERBKWEIGHT,
FK_REQ_ID)VALUES(3755,164,126,'"&C3&"','"&D3&"',to_date('"&TEXT(B3,"yyyy-mm-dd hh:mm:ss")&"'),'"&E3&"',3841);"

 

Results Figure:

 

 

Guess you like

Origin www.cnblogs.com/smokerBig/p/11230370.html
Recommended