Hi All,
Is it possible to insert multiple records into DB using RDB-SAVE at a time.
I tried doing it but i’m getting error.
Used query :-
insert into tablename values (‘1’,‘A’)
insert into tablename values (‘2’,‘B’)
insert into tablename values (‘3’,‘C’)
Regards,
Bharath.
@BharathKambavalasa - It is not possible to insert multiple rows using RDB-Save. However you can call the RDB-Save in a loop to insert multiple rows into the table. You can pass the values dynamically into the insert statement in the loop..
@KALINGAROUT – Thanks for your information. Could you please help me with the above example, that how can we pass the values dynamically to the insert statement.
@BharathKambavalasa - You can use the statement as below
insert into {Class: <>} values ({<>.<>} ,{<>.<>} )