36.16. Oracle Compatibility Mode
Prev | Up | Chapter 36. ECPG — Embedded SQL in C | Home | Next

## 36.16. Oracle Compatibility Mode #

`ecpg` can be run in a so-called Oracle compatibility mode. If this mode is active, it tries to behave as if it were Oracle Pro*C.

Specifically, this mode changes `ecpg` in three ways:

- Pad character arrays receiving character string types with trailing spaces to the specified length

- Zero byte terminate these character arrays, and set the indicator variable if truncation occurs

- Set the null indicator to `-1` when character arrays receive empty character string types

Prev | Up | Next
36.15. Informix Compatibility Mode | Home | 36.17. Internals