Ask a Question related to ASP Database, Design and Development.
-
MDW #1
Data From 2 SQL Databases
Hey all
I'm building an app in SQL Server 2000 - my first one (I was weaned on Access). I'm going to have some tables in my own SQL database, but I'm also going to need to get data from another SQL database on another server for lookups and whatnot. I'm trying to hash out a methodology to this. I can see one of two ways to do it -
1. Create two connections, one for each DB, and just use the one I need as I need t
2. Create some SQL server version of a linked table (this is possible, right?) and refer to everything in terms of my own DB
Assuming that #2 is possible, would either of those two methods be preferable, or is there another one that is even more so
Thanks.
MDW Guest
-
Synchronise data in two databases
Hello. is there a good way of synchronizing two MySQL databases so they hold the same data? Basically, I've created a family tree in php/MySQL... -
[PHP] Databases
On Thursday 25 Sep 2003 08:14, Shaun van den Berg wrote: How long is a piece of string? Too vague a question. Authenticated downloads? ... -
PHP and databases
I am completely new to PHP and have a couple questions. Can PHP access Microsoft Access databases? Are there any basic scripts, any good sites... -
Federated Databases, joins across databases etc
Greetings, I want to do a join between 2 tables on 2 different db2 databases on the same server. I assume that I have to use federated databases. I... -
One vs many databases
Hi Gang, I'm looking at submitting a business case to management that will justify changing from our current structure of many oracle databases... -
Aaron Bertrand [MVP] #2
Re: Data From 2 SQL Databases
Create a linked server in SQL Server... then you can write stored procedures
that join local data to the other server... and your ASP app just has to
know there's "a data source" rather than know the specifics of multiple, or
even that there are multiple data sources...
--
Aaron Bertrand
SQL Server MVP
[url]http://www.aspfaq.com/[/url]
"MDW" <anonymous@discussions.microsoft.com> wrote in message
news:44397AB7-9C7D-47A2-B81C-779473B82D24@microsoft.com...Access). I'm going to have some tables in my own SQL database, but I'm also> Hey all,
>
> I'm building an app in SQL Server 2000 - my first one (I was weaned on
going to need to get data from another SQL database on another server for
lookups and whatnot. I'm trying to hash out a methodology to this. I can see
one of two ways to do it -I need to>
> 1. Create two connections, one for each DB, and just use the one I need asright?) and refer to everything in terms of my own DB> 2. Create some SQL server version of a linked table (this is possible,preferable, or is there another one that is even more so?>
> Assuming that #2 is possible, would either of those two methods be>
> Thanks.
Aaron Bertrand [MVP] Guest



Reply With Quote

