From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,268 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,186 Views)

Thanks. That works.

 

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