开发者

Executing Access SQL Query Between Two Databases

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜