Hi, Simon,

On Sun, Oct 21, 2012 at 12:05 AM, Simon Slavin <slav...@bigfraud.org> wrote:
>
> On 21 Oct 2012, at 7:35am, Igor Korot <ikoro...@gmail.com> wrote:
>
>> database. In order for that to happen properly I need the
>> foreing key constraint to be included.
>
> The simplest thing is to use any compilation (including any you already have) 
> and just make sure you use the PRAGMA immediately after opening the file.

I didn't change anything yet and didn't include any defines in the MSVC project.
So all I need is "sqlite3_exec( handle, "PRAGMA foreign_keys = ON",
NULL, NULL, &error );", right?

Thank you.

>
> Simon.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to