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!

I need help creating a view

Status
Not open for further replies.

rarubio1

Programmer
Jan 25, 2002
64
US
Here is the problem, I have the exact same table, “tblParts”, that lives in two different databases. The only difference is that one database holds manufacturing info for secured parts and the other one holds manufacturing info for general parts. I want to create a view that lists part information for both. The view should look like the following:

Part # Secure
ABC123 1
DEF456 0
DEF123 0
GHI876 1

Please help, thanks in advance,
RR :)
 
ok, just join the tables. Use part# or any other primary key. If the databases are on the same server you can use db1..table1 and db2..table2 to reference them.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top