LINQ to SQL - JOIN of tables stored on different servers

  • Thread starter Gilbert Tordeur
  • Start date
G

Gilbert Tordeur

Hello,

I work with VB2008 and SQL Server 2000.

I would like to make a JOIN between to SQL tables that are stored on
different servers. How should I write the LINQ statement(s) ?

Thank you for your help.
Gilbert
 
L

Lloyd Sheen

Gilbert said:
Hello,

I work with VB2008 and SQL Server 2000.

I would like to make a JOIN between to SQL tables that are stored on
different servers. How should I write the LINQ statement(s) ?

Thank you for your help.
Gilbert

Gilbert,

I don't think you can do it in Linq. You would have to either create a
view or use a stored procedure to do it and then use the view / SP in
the Linq statement.

LS
 
C

Cor Ligthert[MVP]

Gilbert,

Keep in mind that Linq is basicly a querry tool (although it has strong
features to update SQL servers)

Linq to SQL is only a part of Linq.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top