📅  最后修改于: 2022-03-11 15:04:59.149000             🧑  作者: Mango
library(odbc)con <- dbConnect(odbc(), Driver = "SQLServer", Server = "mysqlhost", Database = "mydbname", UID = "myuser", PWD = rstudioapi::askForPassword("Database password") Port = 1433)