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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADP - Can I Connect (2) SQL Server Database?

Status
Not open for further replies.

smedvid

MIS
May 28, 1999
1,228
US
I am attempting to convert an MDB with Linked tables to (2) SQL Server Databases on the same server to an ADP. On the surface, it appears you can only connect to (1) database via the UDL Connection Dialog. Is this correct?

I really need to mimic the same functionality of having linked tables from (2) databases.

tia,


Steve Medvid
"IT Consultant & Web Master"

Chester County, PA Residents
Please Show Your Support...
 
To my knowledge, you can only connect to one database.

However, you can use stored procedures to pull data from and update data to another database. If you are writing an sql proc (or view or function) and you want to reference an object in a different database, simply do the following:

instead of select * from table
write: select * from databasename.databaseowner.table

And your access database can of course run those stored procedures.

Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top