Module SQL
computer programming method

Module SQL is a method of combining the computing power of a programming language and the database manipulation capabilities of SQL. Module SQL statements are SQL statements written in an SQL client module, that can be called as routines from the host language program source code like a host language routine. An SQL standard Module Language file is compiled into calls to a SQL runtime library that interacts with the Database management system. This allows programmers to call SQL statements from applications written in regular programming languages.
Using Module Language is very straightforward: place all SQL code in a separate module, and define an interface between the module containing the SQL code and the host program.
Module SQL is closely related to Embedded SQL. "SQL client modules are self-contained collections of SQL statements. Unlike embedded SQL, in which the SQL statements are inserted into the host programming language, SQL client modules are separate from the host language. The host language contains calls that invoke the module, which in turn executes the SQL statements within that module."
SQL Standard Compliance
The SQL:2023 standard (ISO/IEC 9075-2:2023 Information technology — Database languages SQL — Part 2: Foundation (SQL/Foundation), chapter 13) defines an SQL module as an SQL client module, and the language in which SQL queries are called is referred to as the host language. Specified host languages are:
Ada - Feature B111, “Module language Ada”
C - Feature B112, “Module language C”
COBOL - Feature B113, “Module language COBOL”
Fortran - Feature B114, “Module language Fortran”
MUMPS - Feature B115, “Module language MUMPS”
Pascal - Feature B116, “Module language Pascal”
PL/I - Feature B117, “Module language PL/I”
(All the languages listed above are optional features, which means that each vendor can decide which language(s) to support.)
Database systems that support module SQL
Mimer SQL
Mimer SQL 11.0 and later for Linux, macOS, OpenVMS and Windows support module SQL for C/C++, and Mimer SQL for OpenVMS also supports module SQL for COBOL, Fortran and Pascal.
Oracle Database
Oracle 8.0 supported SQL*Module for Ada but support has been removed in later versions. SQL*Module is a module language that supports the Ada83 language standard for Ada.
Begin with the source’s own compact description: “Module SQL” is computer programming method. The dossier treats that line as a proposition to test through Module, computer and programming, not as a finished interpretation.
Why this record matters
The phrase “computer programming method” supplies a clear boundary for inquiry. It also exposes the unanswered questions: who defined that boundary, when it became stable and which sources sit outside it.
The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated May 25, 2026. The linked authority identifier is Q123310934. None of the 0 selected statements returned an explicit reference. The first chronological checks are 2023.
Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “Module SQL”, its source revision and the description used here.
- Expand the search: follow Module SQL primary sources, Module SQL archive and Module research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Module SQL”?
- Which institution is responsible for the underlying evidence?
- Which cited source is closest to the event, object or claim?
Search terms from this dossier
This entry incorporates text from “Module SQL” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.