Share via


Schema

OverviewHow Do IFAQ   |  ODBC Driver List

A database schema describes the current structure of the tables and database views in the database. In general, ClassWizard assumes that the schema for the table(s) accessed by a recordset will not change, but the database classes can deal with some schema changes, such as adding, reordering, or deleting unbound columns. If a table changes, you can “refresh” your recordset for the table using ClassWizard’s Update Columns button and then recompile your application.

You can also supplement the code ClassWizard produces to deal with a database whose schema is not entirely known at compile time. For more information, see the article Recordset: Dynamically Binding Data Columns (ODBC).

To determine schema information with the MFC DAO classes, see the article DAO Tabledef: Examining a Database Schema at Run Time.

See Also   SQL, Recordset (ODBC), ClassWizard Topics