With the exception of error number 0 (no error occurred), the error numbers in MS SQL Server differ from numbers of the corresponding errors in ASE. Most notably, in ASE the customer defined errors start at number 20,000; in MS SQL Server the customer defined errors start at number 50,001.