RefLib

Reference library for AI

Back

postgresql_16:5.3.5 Dynamic SQL

PostgreSQL 16 > Client Interfaces > ECPG — Embedded SQL in C > Dynamic SQL

In many cases, the particular SQL statements that an application has to execute are known at the time the application is written. In some cases, however, the SQL statements are composed at run time or provided by an external source. In these cases you cannot embed the SQL statements directly into the C source code, but there is a facility that allows you to call arbitrary SQL statements that you provide in a string variable.

Subsections

Back