LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mySql and bigint ID

When fetching data from a MySQL table using a simple SQL query "select * from" all of the data is returned properly except for the ID column. The ID column is a primary key set to auto incremental, bigint type. 

Labview returns no values. Is there some limitation. Thanks. 

 

LV2012, MySQL 5.2

0 Kudos
Message 1 of 3
(2,687 Views)

If you're using VIs from the Database palette in Connectivity, you should return variant data from the database. For a column whose datatype is bigint, Variant to Data wired with a numeric constant set to I64 should work.

---
CLA
0 Kudos
Message 2 of 3
(2,605 Views)

Thanks. That works.

 

0 Kudos
Message 3 of 3
(2,595 Views)