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

Subscribe to our news:
Partners
Testimonials
Jacob Lyohne, Director of Development: "Regarding implementation, it is pretty self-explanatory and the SQLite Maestro manual is helpful for review and reference. We also found the on-line documentation useful and the software support staff readily available to answer our questions. Reports are very easy and quick to run and can be broken down into any number of statistical combinations".
Johnattan Badden, Manager: "The software is easy to work with and most importantly, report management is extremely easy, even for a novice like me! I am able to create and edit my databases with a few clicks and easily maintain them afterwards. I highly recommend SQLite Maestro to educational institutions: it's easy and flexible, it is exactly what can be good for using in schools and colleges".

More

Add your opinion

SQLite 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 created in other tables and reference for columns of the current one. Table objects are managed within the corresponding tab of Table Editor. Unlike tables or views, 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
 

 

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.

 

 

 

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.

 

 

 

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