Home > Database > navicat > body text

How to add foreign keys in navicat

爱喝马黛茶的安东尼
Release: 2019-08-05 10:41:32
Original
9737 people have browsed it

How to add foreign keys in navicat

Open the design interface of the created table, as shown in the figure:

How to add foreign keys in navicat

Click on the foreign key to display the foreign key setting interface, such as Picture:

How to add foreign keys in navicat

Related recommendations: "Navicat for mysql graphic tutorial"

Customize the name, click on the field to display Field small window, which displays the fields of the table, as shown in the figure:

How to add foreign keys in navicat

Click the reference database to display the drop-down box list. What is displayed here is the database configured in Navicat. Connection, as shown in the figure:

How to add foreign keys in navicat

Click the reference table to display the reference table list. What is displayed here is the table in the corresponding parameter database, as shown in the figure:

How to add foreign keys in navicat

Click the reference field to display the reference field small window, which is the field of the reference table, as shown in the figure:

How to add foreign keys in navicat

Delete and update under settings Click Save to complete the foreign key creation, as shown in the figure:

How to add foreign keys in navicat

How to add foreign keys in navicat

The above is the detailed content of How to add foreign keys in navicat. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!