Skip to content

Commit c4bac8f

Browse files
committed
Updated readme
1 parent e4df9f7 commit c4bac8f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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
```
1010
mvn clean package
@@ -13,9 +13,11 @@ mvn clean package
1313
Execute 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)

0 commit comments

Comments
 (0)