当前位置:网站首页>Does SQL always report foreign key errors when creating tables?
Does SQL always report foreign key errors when creating tables?
2022-07-03 18:46:00 【CSDN Q & A】

But this table doesn't use foreign keys at all , Does anyone know why this is ?
mysql
Take the answer :
The screenshot of this statement is the whole code content, right ?
First , Please try changing a table name , Try to create it again , It is suspected that other tables use the fields in the table name as foreign keys , And this table is being rebuilt .
secondly , Look in other tables , Is there any case where the fields in this table are used as foreign keys :
selectTABLE_NAME,COLUMN_NAME,CONSTRAINT_NAME, REFERENCED_TABLE_NAME,REFERENCED_COLUMN_NAMEfrom INFORMATION_SCHEMA.KEY_COLUMN_USAGEwhere REFERENCED_TABLE_NAME = 'SPRING_SESSION';边栏推荐
- 2022-2028 global scar care product industry research and trend analysis report
- Leetcode: 11. Récipient contenant le plus d'eau [double pointeur + cupidité + enlèvement de la plaque la plus courte]
- Boost.Asio Library
- Suffix derivation based on query object fields
- [Yu Yue education] theoretical mechanics reference materials of Shanghai Jiaotong University
- leetcode:556. 下一个更大元素 III【模拟 + 尽可能少变更】
- 2022.02.11
- 2022-2028 global sepsis treatment drug industry research and trend analysis report
- What problems can cross-border e-commerce sellers solve with multi platform ERP management system
- G1 garbage collector of garbage collector
猜你喜欢

Recommend a simple browser tab

论文阅读 GloDyNE Global Topology Preserving Dynamic Network Embedding

English语法_名词 - 分类

4. Load balancing and dynamic static separation

2022-2028 global lithium battery copper foil industry research and trend analysis report

Install apache+php+mysql+phpmyadmin xampp and its error resolution
![235. The nearest common ancestor of the binary search tree [LCA template + same search path]](/img/f5/f2d244e7f19e9ddeebf070a1d06dce.png)
235. The nearest common ancestor of the binary search tree [LCA template + same search path]

2022-2028 global physiotherapy clinic industry research and trend analysis report

Administrative division code acquisition

Mysql45 lecture learning notes (II)
随机推荐
235. 二叉搜索樹的最近公共祖先【lca模板 + 找路徑相同】
Pan for in-depth understanding of the attention mechanism in CV
Raft log replication
4. Load balancing and dynamic static separation
Opencv learning notes (continuously updated)
2022-2028 global aircraft head up display (HUD) industry research and trend analysis report
[combinatorics] generating function (positive integer splitting | unordered | ordered | allowed repetition | not allowed repetition | unordered not repeated splitting | unordered repeated splitting)
Add control at the top of compose lazycolumn
Web3 credential network project galaxy is better than nym?
What does foo mean in programming?
Read the paper glodyne global topology preserving dynamic network embedding
The vscode code is automatically modified to a compliance code when it is formatted and saved
Leetcode: 11. Récipient contenant le plus d'eau [double pointeur + cupidité + enlèvement de la plaque la plus courte]
Processing of user input parameters in shell script
[leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难
Torch learning notes (7) -- take lenet as an example for dataload operation (detailed explanation + reserve knowledge supplement)
SQL custom collation
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
2022-2028 global scar care product industry research and trend analysis report
Install apache+php+mysql+phpmyadmin xampp and its error resolution