Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!lll-winken!ames!ncar!asuvax!mcdphx!mcdchg!att!cuuxb!crom From: crom@cuuxb.ATT.COM (Jack Dixon) Newsgroups: comp.databases Subject: C library for SQL calls on DOS Message-ID: <4259@cuuxb.ATT.COM> Date: 19 Oct 89 05:03:03 GMT Reply-To: att!spock!jcd (Jack Dixon) Organization: AT&T, Lisle, IL Lines: 26 We're looking for a database on DOS that has a C language SQL interface that might look something like the following. This is taken from Sybase on a Unix machine, but we'd like something similar for DOS with the database residing on the DOS machine. dbcmd( dbproc, "select name, age from employee" ); dbsqlexec( dbproc ); while ( (result_code = dbresults(dbproc)) != NO_MORE_RESULTS ) { dbbind( dbproc, 1, NTBSTRINGBIND, 0, name ); dbbind( dbproc, 2, INTBIND, 0, &age ); while ( dbnextrow( dbproc ) != NO_MORE_ROWS ) { printf( "name %s age %d\n", name, age ); } } We are not interested in an embedded query language -- just plain C function calls. Thanks for any product recommendations you can give me. -- -- Jack Dixon, AT&T { ...!att!vogon!jcd, jcd@vogon.att.com }