Go Premium for a chance to win a PS4. Enter to Win

x
?
SolvedPrivate

SSIS 2008 connecting to Oracle

Posted on 2013-05-28
4
Medium Priority
?
46 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 1000 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 1000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

972 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