Skip to content

Instantly share code, notes, and snippets.

@frayos
Last active June 5, 2018 12:23
Show Gist options
  • Select an option

  • Save frayos/a2221d82736512e14766f74b0a077fa5 to your computer and use it in GitHub Desktop.

Select an option

Save frayos/a2221d82736512e14766f74b0a077fa5 to your computer and use it in GitHub Desktop.
jdbc testing
###### UNIX cp : separated
/sas/SASHome3/SASPrivateJavaRuntimeEnvironment/9.4/jre/bin/java
-Djdk.tls.client.protocols="TLSv1.2"
-cp /sas/msjdbc/mssql-jdbc-6.2.2.jre7.jar:./
JdbcTest
com.microsoft.sqlserver.jdbc.SQLServerDriver
"jdbc:sqlserver://s-msk-t-fps-DB2:1433;databaseName=FPSDB;encrypt=true;trustServerCertificate=true;"
yyyy xxxxx
#### WINDOWS cp ; separated
java -cp C:\WORK\10_Incidents\7612453323\sqljdbc4.jar;C:\WORK\10_Incidents\7612453323\JdbcTest\ JdbcTest com.microsoft.sqlserver.jdbc.SQLServerDriver "jdbc:sqlserver://aaaaa:1433;databaseName=SharedServices" xxxx yyyyy
@frayos
Copy link
Copy Markdown
Author

frayos commented May 31, 2018

jdbctest class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment