I assumed the order_id column was on tblCustomersDesc table.
If the databases are on different servers then the problem complicates a little. A way of solving this is using the OPENROWSET functions that allows you to execute ad-hoc queries against a different server if you pass the connection string.
http://www.mssqltips.com/t
Main Topics
Browse All Topics





by: ZberteocPosted on 2009-11-07 at 05:20:36ID: 25766212
Are datasource1 and datasource2 databases on the same or on different server?
If they are on the same server then your problem is solved as you can say:
Select allOpen in new window