2. Execute it, and it will be decompressed to the selected location
3. Create folder c:/SQLJDBC and place sqljdbc_3.0 inside it.
4. Start the Notepad application as administrator and open the file:
C:\Program Files\MATLAB\R2011b\toolbox\local\classpath.txt
5. Add a reference like this to the JDBC driver after the last line of that file:
c:/SQLJDBC/sqljdbc_3.0/enu/sqljdbc4.jar
6. After that you have to restart MATLAB and then you can test the connection:
dbConn = database('master', 'user', 'password', 'com.microsoft.sqlserver.jdbc.SQLServerDriver', 'jdbc:sqlserver://sqlazurepath;databaseName=master;');
7. To test the connection you can execute:
ping(dbConn);
updated jdbc driver: https://www.microsoft.com/en-US/download/details.aspx?id=11774
ReplyDelete