insert large sequenced list into mysql delicatedly -
assuming target table's structure id,number
,now want insert 100,000 records number
value 1 100,000. there delicated way?
for me, concat values string insert test(number) values(1),(2),...
. , if inserted num big,spit sql several insert sql avoid packettoobigexception
in jdbc.
Comments
Post a Comment