UPDATE 'wp_posts' SET 'post_status' = REPLACE( 'post_status' , 'draft', 'publish' );