java - Inserting multiple rows in mysql Db and retrieving same rows after successfully in one query store procedure -


table t1. want write such store procedure take array of string. insert string 1 one in t1 using loop. after 1 insertion should store id of inserted row in temp variable. , after insertion should return inserted id's.

i calling stored procedure java.

can 1 me solve problem?.

thnaks in advance.


Comments

Popular posts from this blog

mysql - java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) -

c - ALSA programming: how to stop immediately -