I am utilizing JetBrains/Exposed in my project as it says it works with SQL server syntax.


#1

What is the correct URL format to connect to my mssql server? Per the quick start on github it’s:

Database.connect("jdbc:h2:mem:test", driver = "org.h2.Driver")

This doesn’t appear to be right to me as my server isn’t h2. I am new to android development and I don’t complete a great deal of database work, for the most part front-end improvement, But I am learning Kotlin.
I am utilizing JetBrains/Exposed in my project as it says it works with SQL server syntax.

Thanks,
Sailaja


#2

There’s an example of an SQLServer connection on the wiki: https://github.com/JetBrains/Exposed/wiki/DataBase-and-DataSource#datasource