Dheeraj Sharma

Dheeraj Sharma

  • NA
  • 98
  • 29k

Check reference of Primary key

Oct 31 2018 4:29 AM
is there any way to find out any reference of primary key value exist in Database.
 
Like 
 Id  Country Name
 1       India
 
 Id CountryId State
 1 1 Gujarat   
 2 1 Punjab
 
now, how can i find that india is in use in state table before delete. 
 

Answers (3)