Solved

Using SQL Server and Oracle Database in one project

Posted on 2011-03-02
2
322 Views
Last Modified: 2012-05-11
Currently, we use the PL SQL to connect and query the Oracle database. Software is built on .NET platform (VB, ASP). We have a implementation project in which we need to host our data set in the SQL server database too. May be completely or partially for some specific modules. Some modules might have to use data from both Oracle and SQL Server Databases.

My Question is : Please suggest a memory and cost efficient process to be able to do this. My idea about it is that we just  need to declare respective connection strings in global.asax file and use them appropriately when needed. Right ? Or is there any catch to it ?
0
Comment
Question by:pratz09
2 Comments
 
LVL 11

Accepted Solution

by:
jasonduan earned 500 total points
ID: 35021058
1. Don't "declare respective connection strings in global.asax file". You should put connection string in web.config file
2. in your code, you'll need use "System.Data.OleDb" instead of "System.Data.SqlClient" client so that both Oracle and Sql Server are supported
0
 

Author Closing Comment

by:pratz09
ID: 35027879
Doh ! I meant web.config .. My bad.
Thanks for your input. It was helpful.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now