当前位置:网站首页>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';
边栏推荐
- 论文阅读 GloDyNE Global Topology Preserving Dynamic Network Embedding
- 22.2.14 -- station B login with code -for circular list form - 'no attribute' - 'needs to be in path selenium screenshot deviation -crop clipping error -bytesio(), etc
- Torch learning notes (6) -- logistic regression model (self training)
- 2022-2028 global marking ink industry research and trend analysis report
- How to read the source code [debug and observe the source code]
- leetcode:11. 盛最多水的容器【双指针 + 贪心 + 去除最短板】
- 2022.02.11
- Boost.Asio Library
- 2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
- SQL: special update operation
猜你喜欢
2022-2028 global physiotherapy clinic industry research and trend analysis report
2022-2028 global lithium battery copper foil industry research and trend analysis report
Kratos微服务框架下实现CQRS架构模式
Ping problem between virtual machine and development board
SQL injection -day16
2022-2028 global sepsis treatment drug industry research and trend analysis report
FBI 警告:有人利用 AI 换脸冒充他人身份进行远程面试
Sensor 调试流程
FBI warning: some people use AI to disguise themselves as others for remote interview
2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
随机推荐
How to quickly view the inheritance methods of existing models in torchvision?
SQL: special update operation
Introduction to SSH Remote execution command
[Yu Yue education] theoretical mechanics reference materials of Shanghai Jiaotong University
Theoretical description of linear equations and summary of methods for solving linear equations by eigen
Enterprise custom form engine solution (12) -- form rule engine 2
Recommend a simple browser tab
How to track the real-time trend of Bank of London
[combinatorics] exponential generating function (concept of exponential generating function | permutation number exponential generating function = combinatorial number ordinary generating function | e
235. 二叉搜索树的最近公共祖先【lca模板 + 找路径相同】
虚拟机和开发板互Ping问题
2022-2028 global sepsis treatment drug industry research and trend analysis report
Multifunctional web file manager filestash
FBI warning: some people use AI to disguise themselves as others for remote interview
2022.02.11
Redis cache avalanche, penetration, breakdown
CV in transformer learning notes (continuously updated)
[combinatorics] dislocation problem (recursive formula | general term formula | derivation process)*
Zero length array
User identity used by startup script and login script in group policy