JavaScript implementation: how to write beautiful conditional expression>>>
I have met many times before, now I start to record it
When Oracle is deleted, it encounters constraints and reports an error ora-02292: integrity constraint (constraint name) violated – child record found
— query the constraints of a table
select constraint_ NAME ,CONSTRAINT_ TYPEfrom all_ Constraints a
where a.owner = upper (‘user ‘) and a.table_ Name = upper (‘table name ‘)
— View constraint information according to constraint name
select owner, constraint_ NAME,CONSTRAINT_ TYPE,TABLE_ NAME, r_ owner, r_ constraint_ name,INDEX_ NAME,LAST_ CHANGE from all_ constraints where CONSTRAINT_ Name =’uppercase constraint name ‘
— View constraint column information according to constraint name
select * from all_ cons_ Columns where owner =’user ‘and constraint_ Name =’uppercase constraint name ‘
Find the corresponding constraint, and then delete the associated data first
Similar Posts:
- [Solved] MYSQL Error: Cannot delete or update a parent row: a foreign key constraint fails
- [Solved] antD table Componet Error: warning.js?2149:7 Warning: [antdv: Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.]
- [Solved] MYSQL Error when deleting a table: Cannot delete or update a parent row: a foreign key constraint fails
- How to quickly locate problems in error reporting of db2-407 sqlcode: – 407, sqlstate: 23502
- How to quickly locate problems in error reporting of db2-407 sqlcode: – 407, sqlstate: 23502
- DB2 Database table operation error SQL0668N Operation not allowed for reason code “1” on table “db”. S…
- [Solved] MYSQL add foreign key error: Referencing column ‘xx’ and referenced column ‘xx’ in foreign key constraint ‘xxx’ are incompatible.
- mysql 1142 – SELECT command denied to user ‘root_ssm’@’localhost’ for table …
- [Solved] Record an error of expdp export ora-01555 caused by lob damage
- Kingbasees supports column encryption