how to restrict delete values from table,
if the value refered in another table .
normally using add foreign key contsraint we can acheive this.
but this case i cannot set foreign key.
any way is there to restrict delete in sql?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajeev PunhaniRank #551 · 4.4K reputationPosted Jul 6, 2016, 10:02 PM EDT
If the above solution is helpful then,accept the answer.