All pastes #363536 Raw Edit

Unnamed

public sql v1 · immutable
·published 2007-02-19 14:48 UTC
rendered paste body
CREATE PROCEDURE DELETE_POST(IN post_id INT) BEGIN 	DELETE FROM posts AS P	WHERE 		P.id = post_id OR 		P.thread_id = post_id END