[comp.databases] Need help: Loading Data with C and embedded SQL statements

ellie@merrimack.edu (12/03/90)

I'm working on a simple RDB/VMS (using SQL) database for a course I'm taking.

I need to load a bunch of data into the database, and I'm looking for examples
of C programs with embedded SQL statements.  What I need is something fairly
simple (I'm no C guru) that will prompt for the input and then load the values
into the database.

Any code fragments or examples?  Thanks in advance.

davidm@uunet.UU.NET (David S. Masterson) (12/05/90)

>>>>> On 3 Dec 90 15:27:43 GMT, ellie@merrimack.edu said:

ellie> I need to load a bunch of data into the database, and I'm looking for
ellie> examples of C programs with embedded SQL statements.  What I need is
ellie> something fairly simple (I'm no C guru) that will prompt for the input
ellie> and then load the values into the database.

Look in the SQL$SAMPLE directory.  I believe it should be a standard directory
that is setup as part of the RDB/VMS installation.
--
====================================================================
David Masterson					Consilium, Inc.
(415) 691-6311					640 Clyde Ct.
uunet!cimshop!davidm				Mtn. View, CA  94043
====================================================================
"If someone thinks they know what I said, then I didn't say it!"