Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Paul Slicky: "I just want to say this has been the fastest, greatest, and most coopertive tool I have ever had. It turned out to be easy to use and very slick. Keep up the good work".
Matt McDawell: "Your practical knowledge & experience, supported by your dedication and hard work set new standards. Taking you into account is the best decision our company has made".

More

Add your opinion

MaxDB Maestro online Help

Prev Return to chapter overview Next

Foreign Key References

A foreign key specifies that the values in a column (or a group of columns) must match the values appearing in some row of another table. The Foreign Key References tab allows you to manage foreign keys that being created in other tables and reference for columns of the current table.

 
Table Foreign Key References are managed within the corresponding tab of Table Editor. Unlike triggers or tables, Foreign Key References are actually not database objects. These are only references to foreign keys. They are designed specially for easy foreign keys management.

 

See also: Foreign Keys
 

Editing Foreign Key References

       

Table foreign key references are edited within the Foreign Key Editor dialog window. In order to open the dialog you should either

 

open the table in Table Editor;
open the Subitems item and the Foreign Keys References tab there;
press Enter key or select the Edit Foreign Key item from the popup menu

or

select the foreign key to edit in the appropriate table group of the explorer tree and use the Edit Foreign Key popup menu item.

 

 

Dropping Foreign Key References

       

To drop the foreign key reference:

 

open the table in Table Editor;
open the Subitems item and the Foreign Keys References tab there;
press Delete key or select the Drop Foreign Key item from the popup menu;

or

select the foreign key to drop in the appropriate table group of the explorer tree and use the Drop Foreign Key popup menu item.

 

and confirm dropping in the dialog window.

 
 



Prev Return to chapter overview Next