Why does a SQL query returns {No Data} with a JDBC complaint database when using MATLAB R2015b?

Why does a SQL query returns {No Data} with a JDBC complaint database when using MATLAB R2015b?
This was observed with the JayBird database.

 채택된 답변

This is because of a known bug in MATLAB R2015b which is fixed in MATLAB R2016a.
To workaround this issue, please execute the following command before performing an 'exec' operation:
>>set(conn, ‘AutoCommit’, ‘off’)
>>curs = exec(conn, ‘…’)
>>curs = fetch(curs);
>>curs.Data
 

추가 답변 (0개)

카테고리

제품

릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by