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!