I think you should provide more details. Do you want to implement a client
SQL interpreter? Various DBMS systems provide several interfaces, from
ODBC
to low level API or the dreaded OLE DB. There are also a bunch of client
libraries C++ that wrap ODBC or driver specific API in a more unified way.
One of them is source pro db from roguewave
http://www.roguewave.com/products/sourcepro/db/
and another one, cheaper,
is sql api: http://www.sqlapi.com/
On the other hand several DBMS systems provide a SQL language that you can
use to write scripts to do whatever you want: Oracle has PL/SQL, SQL
Server
has Transact-SQL etc.
Costa
"Michal O" <michalo@[EMAIL PROTECTED]
> wrote in message
news:4612f134.0409220114.826e000@[EMAIL PROTECTED]
> Hi.
> I have to write a C++ code that invokes a set of SQL statements
> (inserts, updates, selects etc.),
> according to the system administrator's directives.
>
> The directives should be written as a simple script.
>
> In addition to the SQL statements invocation,
> the script should enable using query results as an input to other SQL
statements,
> and should be able to handle multiple query results.
> The script writer should be able to access informaion from the C++
program.
>
> Do you have any recommendation for a suitable scripting language,
> that is well integrated with C++?
> (I used to work with Java-->Jython and Iv'e been thinking of something
similar,
> but for C++, and more SQL oriented).
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


|