Avatar of lium1
lium1

asked on 

Drop foreign key constraint

SQL ERROR: ORA-04021: timeout occurred while waiting to lock object.
Oracle Database

Avatar of undefined
Last Comment
Qlemo
Avatar of Qlemo
Qlemo
Flag of Germany image

The corresponding table could not be locked within the time allowed.
Avatar of lium1
lium1

ASKER

I meant how to solve this issue. I am trying to add constraint foreign_key with enable and validate where I got an timeout error.
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Qlemo
Qlemo
Flag of Germany image

"You can't do that" can be a valid and appropriate answer. If there is no way, there is none.
Oracle Database
Oracle Database

Oracle is an object-relational database management system. It supports a large number of languages and application development frameworks. Its primary languages are SQL, PL/SQL and Java, but it also includes support for C and C++. Oracle also has its own enterprise modules and application server software.

81K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo