ConnectionAttributes function

Supported Connection Attributes

Supported Connection Attributes

These (pre) connection attributes are supported and can be passed as part of the dbConnect call in the named list attributes parameter: data

Details

  • azure_token: This should be a string scalar; in particular Azure Active Directory authentication token. Only for use with Microsoft SQL Server and with limited support away from the OEM Microsoft driver.

Examples

## Not run: conn <- dbConnect( odbc::odbc(), dsn = "my_azure_mssql_db", Encrypt = "yes", attributes = list("azure_token" = .token) ) ## End(Not run)
  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2025-03-27