How can I connect database(Microsoft SQL server 2012) with Mathematica? -


i installed microsoft sql server 2012 , created new database, new tables & inserted values table.

i want access data mathematica. read documentation opensqlconnection[]and jdbc[] didn not it. didn't create drivers in system.

i installed database in system & want connect database mathematica.

can me?

here's recommendation:

  1. bring in databaselink package:

needs["databaselink`"];

  1. open connection database:

conn = opensqlconnection[jdbc["microsoft sql server(jtds)", "/"], "username" -> "", "password" -> ""];

  1. start using database. here example query on table "names"

bunchofnames = sqlselect[conn, {"names"}]


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -