The drop error class command drops an error class and all actions associated with it. The error class must not be in use with an active database connection when you drop it. The syntax for drop error class is:
drop [replication server] error class error_class
For example, to drop the pubs2_error_class error class, use this command:
drop error class pubs2_error_class
You cannot drop the rs_sqlserver_error_class or any of the default non-ASE error classes listed in Table 6-3.