Hi, On Thu, Jul 28, 2016 at 7:20 PM, Balachandran Sivakumar < benignbala at gmail.com> wrote: > > > def enable_fkey(dbcon, con_rec): > dbcon.execute('PRAGMA foreign_keys=ON;') I tried creating a cursor and executing on that too. Doesn't seem to work that way either. Thanks -- Thank you Balachandran Sivakumar