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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -