Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Access 数据库中使用与我的 SQL Server 的无 DSN 连接。但是,每当我尝试编写“传递”查询并运行它时,都会弹出一个对话框,询问 DSN。
在 SQL 视图中,选择直通查询后选择属性并插入 ODBC 连接字符串。例如:
ODBC;DRIVER=SQL Server;SERVER=Server\Instance;Trusted_Connection=Yes;DATABASE=Test
另见: http: //www.connectionstrings.com/sql-server-2008