Very Strange addition in Sybase SQL statement running from MATLAB
2 次查看(过去 30 天)
显示 更早的评论
Hi all
I am telling some strange behavior. I am trying to run SQL Sybase Query . and I am capturing the communication between my MATLAB program on laptop and the destination Sybase Server using the protocol Analyzer . See now what the MATLAB program is sending to the DB Server : the below is what I captured during MATLAB code execution
That means that the MATLAB Client where my code is running is sending those comands enclosed in the blue below. Here is my code
jdbcString = 'jdbc:jtds:sybase://14.29.44.4:29887';
jdbcDriver = 'com.sybase.jdbc4.jdbc.SybDriver' ; %%'net.sourceforge.jtds.jdbc.Driver';
dbConn = database('' , 'nethouse' , 'AdsCmonps__2016' , jdbcDriver , jdbcString );
db_query = 'SELECT table_name AS ETARIRA From SYSTABLE';
data=fetch(dbConn,db_query);
close(dbConn);
Really very strange : is this caused by the JDBC driver or is it a bug in MATLAB ??
aCTUALLY , my target is i want to run query using MATLAB and get the result !! Simply that
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!