使用Microsoft Access数据库的SERVER属性构建连接字符串 [英] build connection string with SERVER attribute for Microsoft Access database

查看:98
本文介绍了使用Microsoft Access数据库的SERVER属性构建连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





希望使用odbc驱动程序连接字符串连接访问数据库,但不能使用属性Dbq / DSN连接。我想使用连接字符串中的SERVER属性连接数据库以进行访问。可能吗?



Hi,

would like to connect access database using odbc driver connection string but not with the attribute Dbq/DSN. i would like to connect the database using SERVER attribute in the connection string for access. Is it possible?

//Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\mydatabase.accdb;Uid=Admin;Pwd=;


//Dsn=DatabaseName





我试过这两个,但我们想要的是attibute服务器而不是Dbq或DSN。



有可能吗?



I have tried this two but we want the attibute server instead of Dbq or DSN.

Is it possible?

推荐答案

参见 http://www.connectionstrings.com/access/ [ ^ ]。


这篇关于使用Microsoft Access数据库的SERVER属性构建连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆