Complete.Org: Mailing Lists: Archives: discussion: April 2000:
[aclug-L] Re: Using SQL in a C program
Home

[aclug-L] Re: Using SQL in a C program

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: discussion@xxxxxxxxx
Subject: [aclug-L] Re: Using SQL in a C program
From: Steven Saner <ssaner@xxxxxxxxxxxxxxx>
Date: Tue, 18 Apr 2000 00:06:35 -0500
Reply-to: discussion@xxxxxxxxx

I don't know about MySQL, but with Postgres there is a thing called
ecpg, which does Embedded SQL in C. I've never used it, but it might
be something along the lines of what you want. I don't know if it
would be similar enough to Pro C or not. You can find out about it at
www.postgresql.org


On Mon, Apr 17, 2000 at 11:50:24PM -0500, John Reinke wrote:
> I'm taking a database class, and we have a programming project which
> requires use of Oracle SQL. In order to use it within a C program, we need
> to run a precompiler called Pro C. It inserts all the appropriate calls to
> the SQL server into my code before compiling the complete program.
> 
> I plan to do most of the work and testing of my program on my Linux box at
> home. Due to financial reasons, I will have to use MySQL instead of Oracle.
> ;-)  Does anyone know about using a precompiler for C programs that would
> work for MySQL? I'd like to be able to upload the code from my computer to
> the university system, and have it work with as few changes as possible.
> 
> Does anyone have experience using the same program on different SQL databases?
> 
> Thanks for any help,
> John
> 
> 
> 
> -- This is the discussion@xxxxxxxxx list.  To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi

-- This is the discussion@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]