Lines Matching full:fkey
753 "DELETE FROM temp.fkey WHERE from_tbl = %Q AND fkid = %d"
764 ** Create and populate temporary table "fkey".
775 "CREATE TABLE temp.fkey AS "
784 "FROM temp.fkey "
791 /* At this point the temp.fkey table is mostly populated. If any foreign
793 ** key of the parent table, the "to_col" values of the temp.fkey rows
806 "FROM temp.fkey "
817 "FROM temp.fkey "
819 "(SELECT 1 FROM temp.v_col WHERE pk AND tablename = temp.fkey.to_tbl)"
824 /* Fix all the implicit primary key mappings in the temp.fkey table. */
826 "UPDATE temp.fkey SET to_col = "
827 "(SELECT name FROM temp.v_col WHERE pk AND tablename=temp.fkey.to_tbl)"
853 "FROM (SELECT * FROM temp.fkey ORDER BY to_col) "
999 ") FROM temp.fkey "
2143 " --no-drop: Do not drop old fkey triggers.\n"
2144 " --ignore-errors: Ignore tables with fkey errors\n"