Subject | Re: [ib-support] Creating a foreign key |
---|---|
Author | Martijn Tonies |
Post date | 2002-06-27T14:54:50Z |
> > >What is the code for adding a foreign key to a table, just a simpleforeign
> foreign
> > >key from one table to another?
> >
> > You need to use ALTER TABLE, once the table is created or add the
> > key in the CREATE TABLE statement.Check the Language Reference or Data Definition Guide for InterBase.
>
> What is the correct syntax for defining a simple foreign key in the CREATE
> TABLE statement?
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."