• Thanks, Old SQL 6.5 habits die hard. Although I know it exists I rarely use the object_name function.

    Does anyone know the correct syntax for getting decimal places to appear in the RAISERROR statements? As I said in the article BOL says you can do it but I simply couldn't get it to work.