Embedding PL/SQL with C, using method 4 ?
Date: 29 May 92 19:47:24 GMT
Message-ID: <VTL.92May29154724_at_spock.tik.vtt.fi>
Good afternoon,
We have a useful little module to process any single SQL statement with dynamic SQL method 4.
But, building 'transactions', ie. modules that consist of SQL statements and random logic to validate and/or prepare these statements is not elegant (at least in C).
PL/SQL could be one answer, only it seems that
we would have to write embedded PL/SQL, and
with over hundred (maybe hundreds of) different 'transactions'
this would quickly become a mess.
So, we *must* have the transaction logic separated from
the C code. A clean C interface to the transactions is a must, too.
We are now considering whether to
implement a little programming language, like PL/SQL
but with a cleaner interface to C, or
try to use PL/SQL with C, perhaps building the
Pro*C modules automatically from some external
representation.
So, we would be grateful to hear from your experiences of using PL/SQL embedded in C. Other approaches are welcomed, too.
Tapio
--Received on Fri May 29 1992 - 21:47:24 CEST
! tapio luukkanen ! vtl_at_hemuli.tik.vtt.fi (130.188.52.2)
! home (358-0) 811 211 ! work 456 6056
--
! tapio luukkanen ! vtl_at_hemuli.tik.vtt.fi (130.188.52.2)
! home (358-0) 811 211 ! work 456 6056