当前位置:网站首页>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';
边栏推荐
- Coordinate layer conversion tool (video)
- NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
- [combinatorics] generating function (positive integer splitting | basic model of positive integer splitting | disordered splitting with restrictions)
- Zero length array
- cipher
- Naoqi robot summary 27
- 204. Count prime
- [combinatorics] generating function (positive integer splitting | repeated ordered splitting | non repeated ordered splitting | proof of the number of repeated ordered splitting schemes)
- Shell script return value with which output
- MySQL duplicate check
猜你喜欢
FBI warning: some people use AI to disguise themselves as others for remote interview
Torch learning notes (7) -- take lenet as an example for dataload operation (detailed explanation + reserve knowledge supplement)
Win 11 major updates, new features love love.
SQL injection -day16
2022.02.11
Bloom filter [proposed by bloom in 1970; redis cache penetration solution]
[leetcode weekly race] game 300 - 6110 Number of incremental paths in the grid graph - difficult
Kratos微服务框架下实现CQRS架构模式
There are several levels of personal income tax
Raft log replication
随机推荐
Boost.Asio Library
[Godot] add menu button
Processing of user input parameters in shell script
JS_ Array_ sort
Leetcode: 11. Récipient contenant le plus d'eau [double pointeur + cupidité + enlèvement de la plaque la plus courte]
Read the paper glodyne global topology preserving dynamic network embedding
How about the Moco model?
How to read the source code [debug and observe the source code]
Typescript official website tutorial
Torch learning notes (3) -- univariate linear regression model (self training)
Torch learning notes (6) -- logistic regression model (self training)
平淡的生活里除了有扎破皮肤的刺,还有那些原本让你魂牵梦绕的诗与远方
TypeScript 官网教程
199. Right view of binary tree - breadth search
变化是永恒的主题
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
Shell script return value with which output
After the festival, a large number of people change careers. Is it still time to be 30? Listen to the experience of the past people
Zero length array
my. INI file not found