majk <email@example.com> wrote in message news:<BB7F5CCB.6D61firstname.lastname@example.org>...
> Im looking for a db tutoral which covers accessing a Microsoft SQL database
> on windows. I will be using VC++ if it matters. NO details just a basic
> Oracle DB access using C++ is also of interest!
> -- Majk
Both SQL Server and Oracle can be accessed by using various data
access API's, which are implemented on top of TDS (Tabular Data
Stream) protocol in SQL Server case and TNS (Transparent Network
Substrate) in Oracle case. Based on your choice of language I believe
you should look at examples how data is accessed using ODBC API in SQL
Server case and OCI (Oracle Call Interface) API in Oracle case.
Documentation and examples can be found on Microsoft's
http://msdn.microsoft.com/sql and Oracle
Web sites. If you develop managed application for .NET Framework you
have a choice of using .NET managed providers for SQL Server and
Oracle, which are much easier to program then ODBC and OCI. Hope this