replace strings with constants

2 jobs for marcUpdateSQLFunctionsNiceError in 2 minutes and 43 seconds