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:
- bring in databaselink package:
needs["databaselink`"];
- open connection database:
conn = opensqlconnection[jdbc["microsoft sql server(jtds)", "/"], "username" -> "", "password" -> ""];
- start using database. here example query on table "names"
bunchofnames = sqlselect[conn, {"names"}]
Comments
Post a Comment