Why does my SQL request return only the first letter of the string I expect?
Show older comments
I am trying to pull data from a SQL database. However, the columns I need data from are only pulling in the first character.
For example, the returned TestFieldName should be a string “ABCDE” but MATLAB returns 'A', and the TestFieldValue should be a double something like 0.012345 but MATLAB returns '0'.
Why is MATLAB returning only the first character of each value for my SQL query?
Accepted Answer
More Answers (0)
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!