select notification_id, notif_subject from notifications where notif_user = :user_id update notifications set notif_user = :to_user_id where notif_user = :from_user_id update notification_user_map set user_id = :to_user_id where user_id = :from_user_id insert into notification_email_hold (reply_id,to_addr,headers,body) values (:reply_id,:to_addr,:headers,:bodies)