[Gambas-user] Foreign Keys on SQLite3

Jorge Carrión shordi at ...626...
Wed Jan 11 22:33:00 CET 2012


Yes it's posible. All that you have to do is

myconnecsqlite3.Open()
myconnecsqlite3.Exec("PRAGMA foreign_keys = 1")

and foreign keys is active for sqlite3.

Regards


2012/1/11 No Way <sholzy2010 at ...43...>

> I've been searching for a way to create and use foreign keys in Gambas 2
> or Gambas 3. Is it possible to set foreign keys on a SQLite3 db? If so, how?
>
>
>
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list