Does anybody know a good tutorial that shows how
to use SQL in C++ ?
Just for the basics.....To learn the Ideas...
Printable View
Does anybody know a good tutorial that shows how
to use SQL in C++ ?
Just for the basics.....To learn the Ideas...
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.