LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining Primary Key in MySQL

Is there a way to select the primary key column of a MySQL table without already knowing the name of the column?  I am using the Database Connectivity Toolkit.

0 Kudos
Message 1 of 2
(2,880 Views)
SHOW KEYS FROM table WHERE Key_name = 'PRIMARY'
aputman
Message 2 of 2
(2,872 Views)