Results 1 to 4 of 4

Thread: How to Pull data from multiple databases

  1. #1
    Join Date
    Feb 2009
    Posts
    71

    How to Pull data from multiple databases

    I have Employee database, Customer database, Employee_address database and Customer database Now i just wanted to pull the data from Multiple database to the single database.

  2. #2
    Join Date
    Dec 2008
    Posts
    161

    Re: How to Pull data from multiple databases

    My guess is that your users set up an Access database with the people/products or whatever that they are interested in working with and that's why you need to select across the two databases. Create scalar function to accept RequestID and return all corresponding "AdverseParty" values concatenated in one string.

  3. #3
    Join Date
    Apr 2008
    Posts
    193

    Re: How to Pull data from multiple databases

    You could still use Access as a frontend to the data AS LONG AS you never exceeded the limit of 2 gigabytes of data when you where running your queries. If that's the case, the Access table is probably smaller than the SQL Server table(s). Assuming Sql Server can get to the Access databases, you could construct an OPENROWSET query across them.

  4. #4
    Join Date
    Oct 2008
    Posts
    167

    Re: How to Pull data from multiple databases

    First you need to do something on the server - reference the Access DB as a "Linked Server". Then you will be able to query it from within the SQL server, pulling out or stuffing in data however you like. With the structure you have outlined you might be able to return the information but depending on how the data is segmented and the relationships between the tables.

Similar Threads

  1. Replies: 2
    Last Post: 22-01-2012, 11:59 AM
  2. Multiple columns Data Validation in drop down
    By McKenzie! in forum Software Development
    Replies: 6
    Last Post: 16-07-2011, 10:52 AM
  3. How to extract data from web databases
    By spuff in forum Tips & Tweaks
    Replies: 7
    Last Post: 09-10-2010, 11:33 PM
  4. How to select data from two different databases in PHP?
    By Linoo in forum Software Development
    Replies: 4
    Last Post: 02-03-2010, 10:48 PM
  5. Multiple destinations for data backup
    By AmdUser in forum Windows Software
    Replies: 3
    Last Post: 13-05-2009, 01:56 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,143,473.34018 seconds with 16 queries