GeekInterview.com
Series: Subject: Topic:
Question: 25 of 60

How to extract data from different datasource

( For e.g You have databases Oracle, Sql Server 2000 etc and one of the table (columns) is unique in both the databases)?
Asked by: Interview Candidate | Asked on: Apr 18th, 2007
Showing Answers 1 - 2 of 2 Answers
dugulam

Answered On : Apr 9th, 2011

View all answers by dugulam

u can extract data from different table using the joins in sql

using inner join
         outer join etc.

Yes  1 User has rated as useful.
  
Login to rate this answer.
mithr17

Answered On : Nov 22nd, 2011

View all answers by mithr17

@ dugulam: I would have agreed with your answer if both the databases were of the same type. Meaning if both the DBs were Oracle or both were SQL Server. But, the example in the question involved different DBs altogether. There may be a common table but there would be an interface in place for both DBs to talk; or between destination DB and each of the source DBs. In any case there would be an interface in place for different DBs to talk to each other. One cannot just open a query tool and write a query to extract data. If it were that simple, why do we need tools/technologies like DTS, SSSL packages (MS) etc., to extract data from different sources.

To extract data from different data sources including different DBs, flat files, etc., some type of ETL tool must be used to extract, transform and load data into destination database. I believe this question must have stemmed from the resume of the interview candidate who posted this question; or it must have been a general question. Regardless, the answer is ETL tool or technology. The reason I keep saying tool/technology is because Microsoft had introduced SSSL packages to perform ETL. For example, DTS is an ETL tool.

Again, selection of the tool/technology depends on the data sources and destination DB being used as all ETL tools/technologies may not be compatible with all DBs and interfaces.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.