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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -