SolvedPrivate

SSIS 2008 connecting to Oracle

Posted on 2013-05-28
4
39 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

820 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