home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / database / 1780 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.sys.mac.databases
  2. Path: sparky!uunet!stanford.edu!kronos.arc.nasa.gov!butch!enterprise!news
  3. From: enterprise.rdd.lmsc.lockheed.com (Darrell Merrick)
  4. Subject: Re: Databases from C or Pascal
  5. Message-ID: <1993Jan23.000502.21026@enterprise.rdd.lmsc.lockheed.com>
  6. Sender: news@enterprise.rdd.lmsc.lockheed.com
  7. Nntp-Posting-Host: philippines.rdd.lmsc.lockheed.com
  8. Organization: Lockheed
  9. References: <1993Jan22.141540.3712@unix.brighton.ac.uk>
  10. Date: Sat, 23 Jan 93 00:05:02 GMT
  11. Lines: 23
  12.  
  13. In article <1993Jan22.141540.3712@unix.brighton.ac.uk>, pdt@unix.brighton.ac.uk (taylor) writes:
  14. > Does anyone know of a relational database package that can be accessed
  15. > from THINK C or pascal?
  16.  
  17. You can call Oracle from Think C or Think Pascal (as well as MPW C and Pascal).
  18. This can be done by embedding SQL calls directly in your code.  This works
  19. much the same way as making regular SQL calls except you are tying Oracle 
  20. fields to variables in your program for the selection or insertion of data.  
  21. The embedded SQL calls are translated by an Oracle precompiler into a lower 
  22. level form which can be understood by the compiler.  Oracle for Macintosh 
  23. includes the precompilers and libraries for doing this.
  24.  
  25. Oracle and 4th Dimension are the major database packages on the Mac right now.
  26. Oracle is the only one that is SQL-based.  4th Dimension cannot be called
  27. externally, but it has it's own internal language, similar to Pascal, for 
  28. processing. 
  29.  
  30.  
  31. Darrell Merrick
  32. Lockheed Artificial Intelligence Center
  33. merrick@titan.rdd.lmsc.lockheed.com
  34.