Q

Linking two databases by relating two tables

I would like to know how to take information from one database form and embed that information into another database

form and also keep a link between both databases. For example I have a form that has the demographics of people, e.g., First Name, Last Name, Address, and so on. I would like to be able to take selected information from the form in database I and make it appear in database 2 so that I can the continue in database 2 filling out information about that person who is in database 1. For example, for special survey forms the two databases have to stay linked so that queries can be run over both databases to get more information for reports and such. Cheers, Keith


You are looking for a foreign key to relate your two tables. Check the database documentation for how to create and manage a foreign key using your database.

For More Information


This was first published in May 2001

Dig deeper on Oracle and SQL

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close