Thread: Embedded SQL

Embedded SQL

From
"R. Grela"
Date:
Hello everybody,
            I'm new in PostgreSQL. I've read the documentation (PostgreSQL 7.1
Programmer's Guide), and now I'm interesting in an embedded SQL supported
in ecpg. I've programmed with Oracle Pro*C and I want to know similarities,
where can I get a full detailed documentation about it ? (ie: I've tested
EXEC SQL EXECUTE xxx but seems don't work), can I code like a pl-sql block?
I've a lot of questions but first I want to read a documentation.
            Thanks in advance!!


Re: Embedded SQL

From
Peter Eisentraut
Date:
R. Grela writes:

> Hello everybody,
>             I'm new in PostgreSQL. I've read the documentation (PostgreSQL 7.1
> Programmer's Guide), and now I'm interesting in an embedded SQL supported
> in ecpg. I've programmed with Oracle Pro*C and I want to know similarities,
> where can I get a full detailed documentation about it ? (ie: I've tested
> EXEC SQL EXECUTE xxx but seems don't work), can I code like a pl-sql block?
> I've a lot of questions but first I want to read a documentation.

The Programmer's Guide is the place.  There are also some examples in the
source distribution, under src/interfaces/ecpg/test.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/