Very Strange addition in Sybase SQL statement running from MATLAB
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/515237/image.png)
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Database Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!