Open Database Connectivity (ODBC)
The Microsoft Foundation Classes (MFC) library supplies classes for programming with Open Database Connectivity (ODBC). As of Visual Studio 2015 and SQL Server 2012 ODBC is the preferred way to connect to SQL data sources.
For more information about using the ODBC API without MFC, see the Open Database Connectivity (ODBC) documentation.
In This Section
ODBC—the Open Database Connectivity standard and API
What MFC Support Is Supplied for ODBC programming
Record Field Exchange (RFX) between a database and a recordset object
SQL for ODBC
Determining the Schema of an ODBC Data Source at run time
How do the database classes work with MFC's document/view architecture?
ODBC Database Tasks
These tasks are based on the MFC ODBC classes. For more information about using the ODBC API without MFC, see the Open Database Connectivity (ODBC) SDK.