# NOT RUN {
my_con <- build_connection_string(server = "localhost")
con <- DBI::dbConnect(odbc::odbc(), .connection_string = my_con)
# with username and password
my_con <- build_connection_string(server = "localhost",
user_id = "jules.winnfield",
password = "pathoftherighteous")
con <- DBI::dbConnect(odbc::odbc(), .connection_string = my_con)
# }
Run the code above in your browser using DataCamp Workspace