how to access data from 2 different sources?

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default 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
    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

  2. Similar Questions and Discussions

    1. Data Sources
      Can anyone tell me how to get a list of Data Sources from CF server using cfml? Thanks: Phil
    2. 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...
    3. 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...
    4. 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...
    5. 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?
  3. #2

    Default how to access data from 2 different sources?


    One quick way, is to setup a dummy access db, and use odbc
    to connect to both the original access db and sql server,
    and link the tables you like. Now you'd have the tables
    under "one roof", and do whatever with them!
    Madjid Z. Guest

  4. #3

    Default Re: how to access data from 2 different sources?

    Thanks for the reply. I probably will do that if I can't find a way to do it
    through internet explorer and asp/ado. I really would like to do it that
    way.

    But thanks for the option.

    "Madjid Z." <anonymous@discussions.microsoft.com> wrote in message
    news:042001c39805$b9a6a330$a101280a@phx.gbl...
    >
    > One quick way, is to setup a dummy access db, and use odbc
    > to connect to both the original access db and sql server,
    > and link the tables you like. Now you'd have the tables
    > under "one roof", and do whatever with them!

    djc Guest

  5. #4

    Default Re: how to access data from 2 different sources?

    You can create a linked server to access database in sql
    server and then you can write your standard sql statement.

    Let me know if you need more info.
    >-----Original Message-----
    >Thanks for the reply. I probably will do that if I can't
    find a way to do it
    >through internet explorer and asp/ado. I really would
    like to do it that
    >way.
    >
    >But thanks for the option.
    >
    >"Madjid Z." <anonymous@discussions.microsoft.com> wrote
    in message
    >news:042001c39805$b9a6a330$a101280a@phx.gbl...
    >>
    >> One quick way, is to setup a dummy access db, and use
    odbc
    >> to connect to both the original access db and sql
    server,
    >> and link the tables you like. Now you'd have the tables
    >> under "one roof", and do whatever with them!
    >
    >
    >.
    >
    Guest

  6. #5

    Default Re: how to access data from 2 different sources?

    will do. Thanks.

    <anonymous@discussions.microsoft.com> wrote in message
    news:027301c398dc$10dcaab0$a501280a@phx.gbl...
    > You can create a linked server to access database in sql
    > server and then you can write your standard sql statement.
    >
    > Let me know if you need more info.
    >
    > >-----Original Message-----
    > >Thanks for the reply. I probably will do that if I can't
    > find a way to do it
    > >through internet explorer and asp/ado. I really would
    > like to do it that
    > >way.
    > >
    > >But thanks for the option.
    > >
    > >"Madjid Z." <anonymous@discussions.microsoft.com> wrote
    > in message
    > >news:042001c39805$b9a6a330$a101280a@phx.gbl...
    > >>
    > >> One quick way, is to setup a dummy access db, and use
    > odbc
    > >> to connect to both the original access db and sql
    > server,
    > >> and link the tables you like. Now you'd have the tables
    > >> under "one roof", and do whatever with them!
    > >
    > >
    > >.
    > >

    djc Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139