A potential problem with the sql is you are renerating
insert into a(b,c) values (henry,john)
where as you want the statment to read
insert into a(a,b) values('henry',john')
so may be your statement would be
cmd= "insert into a (a,b) values...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.