File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ A simple Spring Boot command line app to test JDBC connection to SQL Server data
44
55## How to run
66
7- Download the JAR from release page or alternatively download the code and build the jar file :
7+ Download the JAR from release page or alternatively checkout the code from this repository and run :
88
99```
1010mvn clean package
@@ -13,9 +13,11 @@ mvn clean package
1313Execute the JAR file. Example below:
1414
1515```
16- java -jar target/ms-sqlserver-jdbc-1.0.jar ""jdbc:sqlserver://mydatabase.db.windows.net:1433;database=example@user.com ;user=myser @example.com;password=secret123;encrypt=true;trustServerCertificate=true;loginTimeout=90;authentication=ActiveDirectoryPassword"
16+ java -jar target/ms-sqlserver-jdbc-1.0.jar ""jdbc:sqlserver://mydatabase.db.windows.net:1433;database=My_Example_DB ;user=user @example.com;password=secret123;encrypt=true;trustServerCertificate=true;loginTimeout=90;authentication=ActiveDirectoryPassword"
1717```
1818
19+ The app will attempt to connect to SQL Server and execute a single SQL query: ` SELECT SUSER_SNAME() ` .
20+
1921
2022## License
2123(The MIT License)
You can’t perform that action at this time.
0 commit comments