postgresql7.1 update survsimp_surveys set single_response_p = util__logical_negation(single_response_p) where survey_id = :survey_id