• I believe using information_schema.routines is still a better idea, code using this will work across SQL server versions..