SolvedPrivate

SSIS 2008 connecting to Oracle

Posted on 2013-05-28
4
43 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
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.

635 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