AllExperts > Active Server Pages Programming (ASP) 
Search      
Active Server Pages Programming (ASP)
Volunteer
Answers to thousands of questions
 Home · More Active Server Pages Programming (ASP) Questions · Answer Library  · Encyclopedia ·
More Active Server Pages Programming (ASP) Answers
Question Library

Ask a question about Active Server Pages Programming (ASP)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Ashley Brazier
Expertise
Main focus is ASP, SQL Server 2000 & 2005

Experience
Over 6 years experience.

Education/Credentials
BCs Honours Software Design and Networks

 
   

You are here:  Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > Using another db's tables

Active Server Pages Programming (ASP) - Using another db's tables


Expert: Ashley Brazier - 3/14/2008

Question
Hello Ashley
I have 2 separated SQL server databases on 2 machines: db1 on computer1 and db2 on computer2.
I want to make a view on db1 that uses 2 databases. For example:
SELECT * FROM DB1.TABLE1, DB2.TABLE2
How can I do that? I tried using IP addresses, but it failed. It seems that I don’t have any access to other databases tables.
Is there any way? Can you please help me?
Thank you. Azar  

Answer
Hi,

Do you have login details for both databases?
If you do you can set up a DTA data transformation package on DB1 and schedule the package to run at certain times, this will then copy the data from db2 to db1 and then you can use join statement to join the tables.

Does that help?

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.