SolvedPrivate

SSIS 2008 connecting to Oracle

Posted on 2013-05-28
4
37 Views
Last Modified: 2016-02-10
I need to create a package variable or expression for the oracle connection. I have already changed the setting to be 32bit dubug mode. I am told that in order to connect to oracle with 64 bit SSIS \ BIDS, the connection needs to be done via an expression. I don't know how to do that, can somebody provide a good URL that shows me how to do this with exmaples?

Thanks experts!
0
Comment
Question by:sqlagent007
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
DcpKing earned 250 total points
ID: 39203386
After doing a little research and asking around, someone pointed me at this:

http://sqlblog.com/blogs/jorg_klein/archive/2011/06/09/ssis-connect-to-oracle-on-a-64-bit-machine.aspx

This guy appears to have solved a problem remarkably like the one you're describing.

hth

Mike
0
 
LVL 11

Assisted Solution

by:SThaya
SThaya earned 250 total points
ID: 39203761
Hi ,

  Your connection string should be like this

Syntax:
Data Source=SERVICE NAME;User ID=Oracle Username;Password=[valid password];Provider=MSDAORA.1;Persist Security Info=True;

Example Dynamic Connection string  for SQL Server . please change in to your way

steps:

create variables for datasource,userid,password with a data type of string and write the expression as like below with above syntax

"Data Source="+  @[User::Desti_server]  +";User ID="+ @[User::Desti_UName] +";Password="+ @[User::Desti_Pwd] +";Initial Catalog="+ @[User::Desti_DB] +";Provider=SQLNCLI10.1;Persist Security Info=True;Auto Translate=False;"
0
 
LVL 11

Expert Comment

by:SThaya
ID: 39203764
0
 
LVL 1

Author Closing Comment

by:sqlagent007
ID: 39219438
Thank you so much! We now have working packages. I appologize for the delay.
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

My client sends a request to me that they want me to load data, which will be returned by Web Service APIs, and do some transformation before importing to database. In this article, I will provide an approach to load data with Web Service Task and X…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

932 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

13 Experts available now in Live!

Get 1:1 Help Now