📜  r dbConnect(odbc::odbc() to ms sql server remote - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:59.149000             🧑  作者: Mango

代码示例1
library(odbc)con <- dbConnect(odbc(),                 Driver = "SQLServer",                 Server = "mysqlhost",                 Database = "mydbname",                 UID = "myuser",                 PWD = rstudioapi::askForPassword("Database password")                 Port = 1433)