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

Select from

Status
Not open for further replies.

jpillonel

Programmer
Dec 17, 2003
61
CH
Hello,

I need to select tables accross two database how can I do that ?

For this statement:

use directory
select DISTINCT account from fileindex
where pathid in (select nameid from pathnames where name like 'C:\Data\%')

I need to add another table from a anoter database, how can I do that ?

I run MS SQL 2000


thanks for your help !!
 
I run MS SQL 2000
You may have more accurate replies in a Microsoft SQL Server forum.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top