http://niunan.javaeye.com/blog/387226

数据库1:AAA
数据库2:BBB

数据库名和表名之间放两个点

 

select * from [AAA]..TableA a    

inner join [BBB]..TableB b on a.AcountID = b.ClientID  

注意:必须是单个Sql实例!

http://zhidao.baidu.com/question/87651354.html

Select TA.* From A.dbo.products TA
join B.dbo.price TB
On TA.P_Pid = TB.Pid
Order By TB.Pri

相关文章:

  • 2021-12-24
  • 2021-08-13
  • 2022-02-27
  • 2022-12-23
  • 2022-02-24
  • 2022-03-13
  • 2021-10-10
  • 2022-01-12
猜你喜欢
  • 2021-12-14
  • 2022-01-28
  • 2021-12-26
  • 2021-05-22
  • 2021-11-22
相关资源
相似解决方案