cruizer:probably, depends if there's no firewall blocking access to SQL Server A from location B. the politically correct approach is to expose data from SQL Server A using web services hosted in Web Server A, then Web Server B can connect to Web Server A's web services.
Cruizer,
Please help me understand the answer given. If there is no firewall blocking, the answer would be to use Web Services ??!?! Arent Web Services used in areas where there are firewalls ? Please me understand the politics in this.
Why would anyone want to query data in SQL using Web Services ? Have you ever taken a look at how verbose that is PLUS you have to create another application layer to parse and process the SOAP messages ? A XML infoset of 1000++ records (which is nothing in SQL) will probably caused your web server to time-out before it can be sent across
If it is all happening in the same local environment/subnet - then used native SQL Named Pipes (1433). This will ensure fast, optimized performance and setting all of them up (if they are all in the same subnet) is a no-brainer.
If this is not happening in the same local environment/subnet, then something is really wrong with your architecture. Data Tiers should be separated from application tiers - YES, but should not be via hard boundaries.
A building with a bad structure will collapse sooner than later regardless of the decorations and furniture you put inside of the buildings.
~Softwaremaker (
BLOG)
M. Twain: "I didn't have time to write a short letter, so I wrote a long one instead"