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'" <discussion@xxxxxxxxx>
Subject: [aclug-L] Re: Using SQL in a C program
From: "Violette, James" <JViolette@xxxxxxxxxxxxxx>
Date: Wed, 19 Apr 2000 23:06:19 -0500
Reply-to: discussion@xxxxxxxxx

Hi,

I have the Oracle 8i and Oracle 8 cds for Linux.  I can bring them on Monday
to the meeting.
I even know what to do to install it on Red Hat...

James Violette

-----Original Message-----
From: Larry Bottorff [mailto:mrprenzl@xxxxxxxxxx]
Sent: Wednesday, April 19, 2000 10:17 PM
To: discussion@xxxxxxxxx
Subject: [aclug-L] Re: Using SQL in a C program


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

That won't fly at all. Pro C is its own beasty only on the Oracle
platform. Most SQL DBMS's have an embedding scheme, but they're all
unique to that DBMS. You can download O8/O8i from Oracle. It's rather
large, though, so do it "at work", i.e. on a T1 connection. I might be
able to get you a CD copy if all else fails. You have to have 128mb
memory and nerves of steel, as Oracle installs are the sequel to Dante's
Inferno.

Lars Von Dem Ast

-- 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]