English 中文(简体)
如何使用无 DSN 连接在访问中创建传记查询?
原标题:How do I create a passthrough query in access using a DSN-less connection?

我在存取数据库中使用与我的 SQL 服务器的无 DSN 连接。 然而,每当我试图写入“ Pass- through” 查询并运行它时, 就会出现一个对话框, 请求 DSN 。

最佳回答

在 SQL 视图中,在选择过路查询后选择属性,并插入 ODBC 连接字符串。例如:

ODBC;DRIVER=SQL Server;SERVER=ServerInstance;Trusted_Connection=Yes;DATABASE=Test

另见:“http://www.connectionstrings.com/sql-server-2008' rel=“noreferrer'>http://www.connectionstrings.com/sql-server-2008

问题回答

暂无回答




相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

SQL server: Can NT accounts be mapped to SQL server accounts

In our database we have an SQL server account that has the correct roles to access some of the databases. We are now switching to windows authentication and I was wondering if we can create a NT user ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签