SDSHOWTO:HowTo...Delete Statments

From SMUSwiki
Revision as of 06:32, 9 February 2024 by Jay.prost (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Connect to mysql for the Version you are working on Run the following lines in order replacing ? with the statement item

  • DELETE statement_line_item.* FROM statement_line_item INNER JOIN rel_person_statement ON rel_person_statement.rel_person_statement_id = statement_line_item.rel_person_statement_id WHERE rel_person_statement.statement_id=?;
  • DELETE FROM rel_person_statement WHERE statement_id=?;
  • DELETE FROM statement WHERE statement_id=?;