Scope of persistent bindings

The scope of persistent bindings—how long they persist—differs depending on the type of statement and on the precompiler options in effect, as described later in this chapter. However, bindings never persist beyond the lifetime of a connection. When a program closes a connection, all bindings for statements issued and all command structures allocated over that connection are canceled.