Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LINK WITHIN SQL STATEMENT 1

Status
Not open for further replies.

ratnek

Programmer
Apr 2, 2002
4
US
This SQL statement works and connects on the fly to an external database:

SELECT * FROM ([ODBC;DRIVER={Microsoft ODBC for Oracle};SERVER=servername;UID=myID;PWD=myPassword].ownername.ExternalTable

I have lost the source example for this code. I want to link to an external Access database usin a UNC address (for example, "\\targetserver\RestofPath\myDatabase.mdb")

Does anyone know the SQL syntax to do this?
 
You will likely want to look at the 'IN' clause if you're linking to Access.

Check out this recent thread222-1062571 for an example, albeit an append example.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top