On Sun, Mar 14, 2010 at 10:04:18PM +0000, Simon Slavin scratched on the wall:

> http://www.sqlite.org/syntaxdiagrams.html
> 
>  I cannot find anything on that page that includes the actual
> words 'FOREIGN KEY'.

  http://www.sqlite.org/syntaxdiagrams.html#table-constraint

  For a column constraint, the FK phrase starts with "REFERENCES...".

  For a table constraint, the FK phrase starts with "FOREIGN KEY...
  REFERENCES...".

> The section
> 
> http://www.sqlite.org/syntaxdiagrams.html#foreign-key-clause
> 
> starts with the word 'REFERENCES'.  I traced up and down the hierarchy
> but I couldn't find 'FOREIGN KEY'.

  If you follow both "Used by" links, and find the reference to the
  child foreign-key-clause, it is pretty obvious.

   -j

-- 
Jay A. Kreibich < J A Y  @  K R E I B I.C H >

"Our opponent is an alien starship packed with atomic bombs.  We have
 a protractor."   "I'll go home and see if I can scrounge up a ruler
 and a piece of string."  --from Anathem by Neal Stephenson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to