E
Ed
How do I add a password to this SQL query?
SELECT Column1
FROM Table1 In 'C:\A.mdb' ;
SELECT Column1
FROM Table1 In 'C:\A.mdb' ;
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Ed said:Sorry, I was too brief on what I was trying to do.
The table has a password and I went to sent the password with the query!
ed
Ed said:I have two databases. The one I am in and the one that has Table1.
The database that the Table1 is in has a password. When I run the query
from the second database, it gives me an error message "Not a valid
password". I know the password, I just do not know how to add the password
to the SQL.
Gary Walter said:SELECT *
FROM Table1
IN '' [MS Access;PWD=dirt;DATABASE=C:\DR_be.mdb];
That's 2 single quotes after IN
Gary Walter
Ed said:Did not work. I put in:
SELECT *
FROM Table1 IN 'c:\DR_be.mdb;PWD=dirt';
I put in double quotes and Access changed it to single quotes. I get a
error
message that says 'Could not find file 'c:\DR_be.mdb;PWD=dirt'.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.