Why is this SQLquery in Matlab returning repeated records?
2 次查看(过去 30 天)
显示 更早的评论
I used JDBC driver to connect to the mySQL DB in Matlab. The connection works. However, when I used following SQLquery in Matlab to get data:
SQLquery = ['SELECT * FROM db_XYZ WHERE Col_Name=' '''Col_A'''];
I got repeated (always three times) results shown as below:
1 Col_A CA SFO 1 Col_A CA SFO 1 Col_A Ca SFO
There is only row of "1 Col_A Ca SFO" in the database table.
Why? Thanks...
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!