Thread: C++ / Sql

  1. #1

    C++ / Sql

    Does anybody know a good tutorial that shows how
    to use SQL in C++ ?

    Just for the basics.....To learn the Ideas...

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Tricky question actually.

    Many years ago, one used to embed SQL into your program. How you did this depended a lot on the compiler and the database. There have been some standards since then and, for example, you can connect to, and run SQL queries against a database with the ODBC structure, (basically there are a bunch of functions which takes the SQL query as a character string).

    These days, most database systems have a special API for driving them from programs, although ODBC can still be used.

    I suggest you try searching google for +"embedded sql" +"tutorial" +"insert name of database here!".

    For "Oracle" for example, I got nearly 2000 references.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OOP Question DB Access Wrapper Classes
    By digioz in forum C# Programming
    Replies: 2
    Last Post: 09-07-2008, 04:30 PM
  2. Please help create a loop for embedded SQL
    By cjohnman in forum C Programming
    Replies: 4
    Last Post: 04-24-2008, 06:46 AM
  3. Embedded SQL
    By sarac in forum C Programming
    Replies: 1
    Last Post: 05-04-2006, 09:09 AM
  4. Replies: 1
    Last Post: 03-21-2006, 07:52 AM
  5. Problem with embedded SQL in C/C++ (ECPG)
    By NeuralClone in forum C Programming
    Replies: 4
    Last Post: 10-21-2005, 05:16 PM