Static SQL

Embedded SQL programs are based on either static SQL or dynamic SQL. A program can be said to be static SQL when access to the database has been predetermined by the programmer. While the user may input values in response to a query, the query syntax itself is already in place. Put another way, all SQL statements are already part of the program when it is executed.