Home > database > Pb on how to delete records related to an already delete records, thank you!!!!!
Pb on how to delete records related to an already delete records, thank you!!!!!
Time:09-19
Through the data window, I delete a record, such as id=12, the record in the delete buffer, now I want to delete some records associated with id=12, such as id=121, id=122, id=1211, id=1221 and related some records, id the first half of the oracle database table and deleted id the same record, how should do??
CodePudding user response:
Write embedded SQL code to delete, use wildcard % to do it, For example: The delete from table Where id like '12%'