If you want to code in C++ and you are allowed to get open-source then get the SOCI library which works with multiple databases. ODBC is a standard supported on Windows but is C-only. You can call it from C++ but have to do lots of management as is the case when using C. SOCI will do a lot of that management for you.