使用R的ODBC连接
以下是一段代码,不知何故它失败了。不确定原因。可能是什么原因?
dbhandle_dev = odbcDriverConnect('driver={ODBC Driver 17 for SQL Server};server="DevSQL01";database="risk";trusted_connection=true')
错误信息如下。 [RODBC] 错误:状态 08001,代码 0,消息 [Microsoft][SQL Server 的 ODBC 驱动程序 17] 为连接字符串属性“trusted_connection”指定的值无效
Following is the piece of code and somehow it fails. Not sure of the reasons. What could be the reasons?
dbhandle_dev = odbcDriverConnect('driver={ODBC Driver 17 for SQL Server};server="DevSQL01";database="risk";trusted_connection=true')
Error message is as follows.
[RODBC] ERROR: state 08001, code 0, message [Microsoft][ODBC Driver 17 for SQL Server]Invalid value specified for connection string attribute 'trusted_connection'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是解决问题所需的一个。
Following is the one needed to solve the issue.