<s>
Embedded	B-Language
SQL	I-Language
is	O
a	O
method	O
of	O
combining	O
the	O
computing	O
power	O
of	O
a	O
programming	O
language	O
and	O
the	O
database	O
manipulation	B-Language
capabilities	O
of	O
SQL	B-Language
.	O
</s>
<s>
Embedded	B-Language
SQL	I-Language
statements	O
are	O
SQL	B-Language
statements	O
written	O
inline	O
with	O
the	O
program	O
source	O
code	O
,	O
of	O
the	O
host	O
language	O
.	O
</s>
<s>
The	O
embedded	B-Language
SQL	I-Language
statements	O
are	O
parsed	B-Language
by	O
an	O
embedded	B-Language
SQL	I-Language
preprocessor	B-General_Concept
and	O
replaced	O
by	O
host-language	O
calls	B-Language
to	O
a	O
code	B-Library
library	I-Library
.	O
</s>
<s>
The	O
output	O
from	O
the	O
preprocessor	B-General_Concept
is	O
then	O
compiled	B-Language
by	O
the	O
host	O
compiler	B-Language
.	O
</s>
<s>
This	O
allows	O
programmers	O
to	O
embed	O
SQL	B-Language
statements	O
in	O
programs	O
written	O
in	O
any	O
number	O
of	O
languages	O
such	O
as	O
C/C	O
++	O
,	O
COBOL	B-Application
and	O
Fortran	B-Application
.	O
</s>
<s>
This	O
differs	O
from	O
SQL-derived	O
programming	O
languages	O
that	O
do	O
n't	O
go	O
through	O
discrete	O
preprocessors	B-General_Concept
,	O
such	O
as	O
PL/SQL	B-Language
and	O
T-SQL	B-Language
.	O
</s>
<s>
The	O
SQL	B-Language
standards	O
committee	O
defined	O
the	O
embedded	B-Language
SQL	I-Language
standard	O
in	O
two	O
steps	O
:	O
a	O
formalism	O
called	O
Module	O
Language	O
was	O
defined	O
,	O
then	O
the	O
embedded	B-Language
SQL	I-Language
standard	O
was	O
derived	O
from	O
Module	O
Language	O
.	O
</s>
<s>
The	O
SQL	B-Language
standard	O
defines	O
embedding	O
of	O
SQL	B-Language
as	O
embedded	B-Language
SQL	I-Language
and	O
the	O
language	O
in	O
which	O
SQL	B-Language
queries	O
are	O
embedded	O
is	O
referred	O
to	O
as	O
the	O
host	O
language	O
.	O
</s>
<s>
A	O
popular	O
host	O
language	O
is	O
C	O
.	O
Host	O
language	O
C	O
and	O
embedded	B-Language
SQL	I-Language
,	O
for	O
example	O
,	O
is	O
called	O
Pro*C	B-Language
in	O
Oracle	B-Application
and	O
Sybase	B-Application
database	I-Application
management	O
systems	O
,	O
ESQL/C	O
in	O
Informix	B-Application
,	O
and	O
ECPG	B-Language
in	O
the	O
PostgreSQL	B-Application
database	O
management	O
system	O
.	O
</s>
<s>
SQL	B-Language
may	O
also	O
be	O
embedded	O
in	O
languages	O
like	O
PHP	O
etc	O
.	O
</s>
<s>
The	O
SQL	B-Language
standard	O
2016	O
is	O
available	O
through	O
purchase	O
and	O
contains	O
chapter	O
21	O
Embedded	B-Language
SQL	I-Language
and	O
its	O
syntax	O
rules	O
.	O
</s>
<s>
APRE	O
is	O
an	O
embedded	B-Language
SQL	I-Language
precompiler	O
provided	O
by	O
Altibase	B-Operating_System
Corp	O
.	O
for	O
its	O
DBMS	O
server	O
.	O
</s>
<s>
IBM	B-Application
Db2	I-Application
for	O
Linux	O
,	O
UNIX	O
and	O
Windows	O
supports	O
embedded	B-Language
SQL	I-Language
for	O
C	O
,	O
C++	O
,	O
Java	B-Language
,	O
COBOL	B-Application
,	O
FORTRAN	B-Application
and	O
REXX	O
although	O
support	O
for	O
FORTRAN	B-Application
and	O
REXX	O
has	O
been	O
deprecated	O
.	O
</s>
<s>
Embedded	B-Language
SQL	I-Language
for	O
C	O
has	O
been	O
deprecated	O
as	O
of	O
Microsoft	B-Application
SQL	I-Application
Server	I-Application
2008	O
although	O
earlier	O
versions	O
of	O
the	O
product	O
support	O
it	O
.	O
</s>
<s>
Mimer	B-Application
SQL	I-Application
for	O
Linux	O
,	O
macOS	B-Application
,	O
OpenVMS	B-Operating_System
and	O
Windows	O
support	O
embedded	B-Language
SQL	I-Language
.	O
</s>
<s>
Embedded	B-Language
SQL	I-Language
for	O
C/C	O
++	O
is	O
supported	O
on	O
Linux	O
,	O
macOS	B-Application
,	O
OpenVMS	B-Operating_System
and	O
Windows	O
.	O
</s>
<s>
Embedded	B-Language
SQL	I-Language
for	O
COBOL	B-Application
is	O
supported	O
on	O
OpenVMS	B-Operating_System
.	O
</s>
<s>
Embedded	B-Language
SQL	I-Language
for	O
Fortran	B-Application
is	O
supported	O
on	O
OpenVMS	B-Operating_System
.	O
</s>
<s>
Pro*Ada	O
was	O
officially	O
desupported	O
by	O
Oracle	B-Application
in	O
version	O
7.3	O
.	O
</s>
<s>
Starting	O
with	O
Oracle8	B-General_Concept
,	O
Pro*Ada	O
was	O
replaced	O
by	O
SQL*Module	O
but	O
appears	O
to	O
have	O
not	O
been	O
updated	O
since	O
.	O
</s>
<s>
SQL*Module	O
is	O
a	O
module	O
language	O
that	O
offers	O
a	O
different	O
programming	O
method	O
from	O
embedded	B-Language
SQL	I-Language
.	O
</s>
<s>
SQL*Module	O
supports	O
the	O
Ada83	B-Language
language	O
standard	O
for	O
Ada	B-Language
.	O
</s>
<s>
Pro*C	B-Language
became	O
Pro*	B-Language
C/C	I-Language
++	I-Language
with	O
Oracle8	B-General_Concept
.	O
</s>
<s>
Pro*	B-Language
C/C	I-Language
++	I-Language
is	O
currently	O
supported	O
as	O
of	O
Oracle	B-General_Concept
Database	I-General_Concept
11g	O
.	O
</s>
<s>
Pro*COBOL	O
is	O
currently	O
supported	O
as	O
of	O
Oracle	B-General_Concept
Database	I-General_Concept
11g	O
.	O
</s>
<s>
Pro*FORTRAN	O
is	O
no	O
longer	O
updated	O
as	O
of	O
Oracle8	B-General_Concept
but	O
Oracle	B-Application
will	O
continue	O
to	O
issue	O
patch	O
releases	O
as	O
bugs	O
are	O
reported	O
and	O
corrected	O
.	O
</s>
<s>
Pro*Pascal	O
was	O
not	O
released	O
with	O
Oracle8	B-General_Concept
.	O
</s>
<s>
Pro*	O
PL/I	B-Language
was	O
not	O
released	O
with	O
Oracle8	B-General_Concept
.	O
</s>
<s>
The	O
Pro*	O
PL/I	B-Language
Supplement	O
to	O
the	O
Oracle	B-Application
Precompilers	O
Guide	O
,	O
however	O
,	O
continued	O
to	O
make	O
appearances	O
in	O
the	O
Oracle	B-Application
Documentation	O
Library	B-Library
until	O
release	O
11g	O
.	O
</s>
<s>
As	O
of	O
release	O
12c	O
,	O
the	O
Pro*	O
PL/I	B-Language
has	O
been	O
removed	O
from	O
the	O
Oracle	B-Application
Documentation	O
Library	B-Library
.	O
</s>
<s>
ECPG	B-Language
is	O
part	O
of	O
PostgreSQL	B-Application
since	O
version	O
6.3	O
.	O
</s>
<s>
SAP	B-Application
Sybase	I-Application
ASE	I-Application
15.7	O
supports	O
embedded	B-Language
SQL	I-Language
for	O
C	O
and	O
COBOL	B-Application
as	O
part	O
of	O
the	O
Software	O
Developer	O
Kit	O
Sybase	B-Application
.	O
</s>
<s>
SAP	B-Application
Sybase	I-Application
SQL	B-Application
Anywhere	I-Application
supports	O
embedded	B-Language
SQL	I-Language
for	O
C	O
and	O
C++	O
as	O
part	O
of	O
the	O
SQL	B-Application
Anywhere	I-Application
database	O
management	O
system	O
SQL	B-Application
Anywhere	I-Application
.	O
</s>
<s>
SAP	B-Application
Sybase	I-Application
IQ	I-Application
supports	O
embedded	B-Language
SQL	I-Language
for	O
C	O
and	O
C++	O
as	O
part	O
of	O
the	O
Sybase	B-Application
IQ	I-Application
database	O
management	O
system	O
Sybase	B-Application
IQ	I-Application
.	O
</s>
<s>
LINQ-to-SQL	B-Language
embeds	O
a	O
SQL-like	O
language	O
into	O
.NET	B-Language
languages	I-Language
.	O
</s>
<s>
JPA	B-Language
embeds	O
a	O
SQL-like	O
language	O
through	O
into	O
Java	B-Language
.	O
</s>
<s>
jOOQ	B-Language
embeds	O
a	O
SQL-like	O
language	O
into	O
Java	B-Language
.	O
</s>
