Connection strings and select into queries

feltondude

New member
Local time
Today, 11:30
Joined
May 15, 2009
Messages
3
I am trying to create a make table query in Access that pulls data from an Oracle database table. The Oracle databse is listed in my TNSNAMES file. I'm looking for an example of a select or select into statement where the connection string to the database, username and password is included.

I've done this before, but I can't find the old access database that had the query I'm modelling this after.

Thanks
 
Something like this, perhaps...

Code:
SELECT * INTO MyNewTableName FROM [<connectionstringtoOracle>].NameOfTableOnOracle;
 
Something like this, perhaps...

Code:
SELECT * INTO MyNewTableName FROM [<connectionstringtoOracle>].NameOfTableOnOracle;


I think that is it. Now I just need to figure out what the connection string to our Oracle apps database would be. I know in the poast, the string contained references to "uid" and "pwd" but I don't know the syntax.
 
Take a look at Carl Prothman's connection string. He lists various forms of Oracle connection string.
 

Users who are viewing this thread

Back
Top Bottom