declare @errorStr integer
..........
UPDATE authors SET au_id = '172 32 1176'
WHERE au_id = "172-32-1176"
 SEt @errorStr=@@ErrorReturn(@errorStr)