SQL in application languages

Whereas Informix® SQL API products allow you to embed SQL in the host language, some languages include SQL as a natural part of their statement set. Informix® Stored Procedure Language (SPL) uses SQL as a natural part of its statement set. You use an SQL API product to write application programs. You use SPL to write routines that are stored with a database and called from an application program.