runsqlscript Error with ODBC Connection
Ältere Kommentare anzeigen
Hi all,
I'm having trouble using the runsqlscript with the native ODBC connection to an MS SQL server. I get the following error message:
Undefined function 'runsqlscript' for input arguments of type 'database.ODBCConnection'.
I can run sql queries fine, just not a .sql script.
Any ideas on what I'm missing?
Antworten (1)
Abhiram Bhanuprakash
am 1 Apr. 2015
Bearbeitet: Abhiram Bhanuprakash
am 1 Apr. 2015
0 Stimmen
Hi Ahmed,
As of now, the 'runsqlscript' method does not exist for the database.ODBCConnection class in Database Toolbox.
There are no workarounds.
However, it looks like it is available if you use JDBC connection.
You can go through the doc here for the workflow to connect to Microsoft SQL Server JDBC for Windows
Hope this helps,
Cheers!
Abhiram.
Kategorien
Mehr zu Reporting and Database Access finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!