Ask a Question related to ASP, Design and Development.
-
djc #1
can I access and join data from 2 sources?
I need to use data from multiple tables that are located in 2 different
databases. Most of the tables are in SQL Server 2000 but 1 one the tables I
need to include in my query resides in an Access2002 mdb file.
I need to do this via ASP/ADO on IIS5.
How do I combine (join in a query) tables from different databases? they
are each opened from a different connection object? I have only had to
access tables from one source before and I used the recordset.Open "sql
statement", connectionObjectVariable syntax.
Can I this even be done?
any help is appreciated. Thanks.
djc Guest
-
Data Sources
Can anyone tell me how to get a list of Data Sources from CF server using cfml? Thanks: Phil -
backup data sources
Is it possible to backup data sources from one server to another? I need to move data sources from Coldfusion MX to Coldfusion MX 7 server. Thanks... -
Restoring data sources in CF 5.0
Hello guys, Could you please suggest a way to backup data sources for sybase, oracle and db2 from one UNIX server (Solaris) to another Solaris... -
how to access data from 2 different sources?
I need to use data from multiple tables that are located in 2 different databases. Most of the tables are in SQL Server 2000 but 1 one the tables I... -
how to access FreeRide sources?
in the move to RubyForge, the link to sources seems to have been lost. Does anyone know a link to access them ( via ftp/http/cvs ) at this pont? -
Manohar Kamath [MVP] #2
Re: can I access and join data from 2 sources?
The best way to do this is by creating so called "Linked servers" in SQL
Server. Doing so, you can query data across multiple servers, even disparate
types (SQL, Access, Foxpro, etc.) as if they were all single source of data.
Look for "Linked servers" in SQL books online.
--
Manohar Kamath
Editor, .netBooks
[url]www.dotnetbooks.com[/url]
"djc" <noone@nowhere.com> wrote in message
news:uz8fVZBmDHA.744@tk2msftngp13.phx.gbl...I> I need to use data from multiple tables that are located in 2 different
> databases. Most of the tables are in SQL Server 2000 but 1 one the tables> need to include in my query resides in an Access2002 mdb file.
>
> I need to do this via ASP/ADO on IIS5.
>
> How do I combine (join in a query) tables from different databases? they
> are each opened from a different connection object? I have only had to
> access tables from one source before and I used the recordset.Open "sql
> statement", connectionObjectVariable syntax.
>
> Can I this even be done?
>
> any help is appreciated. Thanks.
>
>
Manohar Kamath [MVP] Guest
-
djc #3
Re: can I access and join data from 2 sources?
Thanks, I'll check that out.
"Manohar Kamath [MVP]" <mkamath@TAKETHISOUTkamath.com> wrote in message
news:eMAzp1BmDHA.2528@TK2MSFTNGP10.phx.gbl...disparate> The best way to do this is by creating so called "Linked servers" in SQL
> Server. Doing so, you can query data across multiple servers, evendata.> types (SQL, Access, Foxpro, etc.) as if they were all single source oftables> Look for "Linked servers" in SQL books online.
>
> --
> Manohar Kamath
> Editor, .netBooks
> [url]www.dotnetbooks.com[/url]
>
>
> "djc" <noone@nowhere.com> wrote in message
> news:uz8fVZBmDHA.744@tk2msftngp13.phx.gbl...> > I need to use data from multiple tables that are located in 2 different
> > databases. Most of the tables are in SQL Server 2000 but 1 one thethey> I> > need to include in my query resides in an Access2002 mdb file.
> >
> > I need to do this via ASP/ADO on IIS5.
> >
> > How do I combine (join in a query) tables from different databases?>> > are each opened from a different connection object? I have only had to
> > access tables from one source before and I used the recordset.Open "sql
> > statement", connectionObjectVariable syntax.
> >
> > Can I this even be done?
> >
> > any help is appreciated. Thanks.
> >
> >
>
djc Guest



Reply With Quote

