Sample ODBC Program

The ODBC code sample prompts you for an ODBC data source name. You will then be prompted to enter a query and the sample will display the results of the query.