|
||||||
| Database & Database Programming MySQL, Oracle, SQL, PL/SQL, ABAP, Smart Forms, and other databases and languages. A database is an organized body of related information used in many websites (including CC). |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hi All,
I'm currently learning how to do ODBC connections with the ODBC API in Visual C++ 6.0 Is there another/a nicer way to use the ODBC API from one Visual Studio Express editions (i.e. VB 2005)? Specifically, I'm trying to determine primary/foreign keys in a table in a database that I'm connected to through ODBC, and I have not found a way to do it using the System.Data.Odbc objects, but the API has functions for this. Thanks! |
| Sponsored Links |
|
|
|
|||||
|
A good place to start looking would be in the ODBC Reference on MSDN.
ODBC Programmer's Reference (Microsoft Open Database Connectivity (ODBC)) |
|
|||
|
Okay...
I seem to be able to extract Primary Key info from a table with OdbcDataAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey Then checking the Primary Key on the table after using Fill. Any idea about Foreign Keys? |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ODBC API - Special Table and Column Names | Tronman | Database & Database Programming | 0 | 07-30-2007 01:52 PM |
| ODBC with VS C++ 6 Problem | MarkWasik | C and C++ | 0 | 04-10-2007 03:31 PM |
| java--ILOG rules | roger | Java Help | 1 | 07-15-2006 02:03 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 97%