C++ / Sql

This is a discussion on C++ / Sql within the C++ Programming forums, part of the General Programming Boards category; Does anybody know a good tutorial that shows how to use SQL in C++ ? Just for the basics.....To learn ...

  1. #1
    Unregistered
    Guest

    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
    Posts
    4,831
    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, 05:30 PM
  2. Please help create a loop for embedded SQL
    By cjohnman in forum C Programming
    Replies: 4
    Last Post: 04-24-2008, 07:46 AM
  3. Embedded SQL
    By sarac in forum C Programming
    Replies: 1
    Last Post: 05-04-2006, 10: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, 06:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21