Our version of SQLite is out of date so just write your own DELETE queries.
http://sqlite.org/foreignkeys.html
This document describes the support for SQL foreign key constraints introduced in SQLite version 3.6.19.
> temp.res = SQL.executeSQL("select sqlite_version() AS sqliteversion", true);
> echo(temp.res.rows[0].sqliteversion);
echos 3.6.12