3
Reply

record not delete if id use another table in sql query

Devendra  Kumar

Devendra Kumar

Jun 13 2016 5:59 AM
256
i friend  how to prevents delete operation if one table id use another table
 
like i have one table  city and there  value ajmer, jaiupr, etc
 
and another table district and  in this table use city id and when i will delete city then if city id use in district table that not delete else delete  

Answers (3)