SDSHOWTO:HowTo...Delete Statments: Difference between revisions

From SMUSwiki
Jump to navigation Jump to search
(Created page with "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=265; * DELETE FROM rel_person_statement WHERE statement_id=269; * DELETE FROM statement WHERE statement_id=269;")
(No difference)

Revision as of 14:21, 7 February 2024

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=265;
  • DELETE FROM rel_person_statement WHERE statement_id=269;
  • DELETE FROM statement WHERE statement_id=269;