postgresql7.4 SELECT cc_uos_textbook__del(:textbook_id) UPDATE cc_uos_textbook_map SET textbook_id = NULL WHERE textbook_id = :textbook_id