Home > database >  Ask a question of data deletion! Past master, please help!! I like the rush!
Ask a question of data deletion! Past master, please help!! I like the rush!

Time:10-06

There are four tables in the database, it's all about a person's relevant information, the establishment of a database table without associated, now I want to implement a delete function, will be four tables of information about a person not to delete. How, ask everybody to help, to explain in detail. The younger brother beginners!!!!!!!!!!

CodePudding user response:

Build a trigger, database are different, their ship

CodePudding user response:

Do you want to delete all someone's information, or not to delete all?

CodePudding user response:

If it is all not to delete, can set a field, IsDelete=true/false.
If all deleted, it is in the process of storing more several nested delete from line,
  • Related