On 16 Jan 2012, at 1:10pm, bhaskarReddy wrote:

> Can any one tell me how i can get all values at one record.

You're inserting five different rows, each with one parameter.  You only need 
one "insert" command:

query = "insert into ONTTable (slotId,ponChannelId,onuType,onuId,adminStatus) 
values (?,?,?,?,?)";

Then do five binds, one to each parameter.

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to