database returns null as -2147483648

1 view (last 30 days)
Azura Hashim
Azura Hashim on 13 Aug 2017
Commented: Azura Hashim on 14 Aug 2017
When I executed a query using MySQL console null values returned correctly. But when I queried the same data using database function in Matlab all the null values were returned as -2147483648. Has anyone encountered this?
  2 Comments
Azura Hashim
Azura Hashim on 14 Aug 2017
It is an integer class. Thank you. I didn't realise there is not a NaN equivalent for integers.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!