Each row in the sysforeignkey system table describes a foreign key that belongs to a table.
| Column name | Column type | Description |
|---|---|---|
| table_id | INTEGER | The identifier of the table to which the foreign key belongs. |
| foreign_table_id | INTEGER | The identifier of the table to which this foreign-key-column refers to. |
| foreign_key_id | INTEGER | The identifier of the foreign key. |
| name | VARCHAR(128) | The name of the foreign key. |
| index_name | VARCHAR(128) | The name of the index the foreign key refers to. |
PRIMARY KEY (table_id, foreign_key_id)
| Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |