## Not run:
# SQLServer()
# ## End(Not run)
# View sql.yaml file bundled in package
file <- system.file("extdata", "sql.yaml", package = "RSQLServer")
readLines(file)
# Connect using ~/sql.yaml file
## Not run:
# if (have_test_server()) {
# dbConnect(RSQLServer::SQLServer(), "TEST")
# }
# # Example where ~/sql.yaml does not exist or where the server
# # is not in the YAML file.
# dbConnect(RSQLServer::SQLServer(), server="11.1.111.11", port=1434,
# properties=list(useNTLMv2="true", domain="myco", user="me",
# password="asecret"))
# ## End(Not run)
Run the code above in your browser using DataLab