Very Strange addition in Sybase SQL statement running from MATLAB
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Database Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!