开发者

Executing Access SQL Query Between Two Databases

开发者 https://www.devze.com 2022-12-10 14:36 出处:网络
I need to execute a SQL Query between two databases. Example: 开发者_运维知识库SELECT * from table1 in \'D:\\paulo\\sdatabases\\SCWa.mdb\'

I need to execute a SQL Query between two databases.

Example:

开发者_运维知识库SELECT * from table1 in 'D:\paulo\sdatabases\SCWa.mdb'

The problem is that both tables have a password. How can i put the password in a query like this?


Use the same string as connect in your query, for example:

SELECT * FROM [MS Access;PWD=password;DATABASE=C:\Docs\LTD.mdb].Companies

Further information: http://support.microsoft.com/kb/113701

The above example is for a database password, not a security (mdw) password.


You can link the table, if I remember correctly, you will have to give password once when creating the link.

0

精彩评论

暂无评论...
验证码 换一张
取 消