Portability

From InterBase
Jump to: navigation, search

Go Up to Guidelines for Error Handling


For portability among different SQL implementations, SQL programs should limit error handling to WHENEVER statements or direct examination of ­SQLCODE values.

InterBase internal error recognition occurs at a finer level of granularity than SQLCODE representation permits. A single SQLCODE value can represent many different internal InterBase errors. Where portability is not an issue, it may be desirable to perform additional InterBase error handling. The remainder of this chapter explains how to use these additional features.