Dynamic SQL In SSIS With Oracle

Oct 16, 2006

Hi ,

1.Dynamic Sql

----------------

My source table is Oracle .we want to have dynamic query the following steps we have done.

a.Created a new variable called StrSQL & ProductID variable contains values for where clause.
b.Set EvaluateAsExpression=TRUE
c.Set Expression=""select * from prod where product_id = " + @[ProductID] 
d.OLE DB Source component, opening up the editor
e.Set Data Access Mode="SQL Command from variable"
f.Set VariableName = "StrSQL"

But i am getting the following error

Error at DataFlow Task[OLEDB Source[1]]:An OLEDB error has occured, Error code: 0x80040e14.
AN OLE DB records is available . Source "Microsoft OLEDB Provider for Oracle" Hresult: 0x80040e14
Description : "ORA-00936:missing expression

What could be the problme.how about the support of dynamic query (Oracle) in ssis?

2.Clarification in Lookup.

--------------------------------

How to Pass Parameters to Lookup. (Dynamic sql in Lookup)

example

select * from mastertable where reportdate = ?

here also my source is oracle table

Thanks

Jegan

 

View 3 Replies


ADVERTISEMENT

Using SSIS For ETL From Oracle 10g ODS Into Oracle DW And From There Into SSAS Cubes

May 2, 2007

Hi,





This might seems a little 'out there', but has anyone tried doing ETL from an Oracle 10g ODS into an Oracle 10g DW, and from there into SSAS2005 cubes?



Any caveats houghtscomments on doing this?



Thanks,

JGP

View 1 Replies View Related

Dynamic Connection String For Oracle

Oct 31, 2007

i have successfully implemented a dynamic connection string based on a dropdown list of environments (dev, test, prod). it works well during testing in the vs2005 ide; but once i deploy it to the rs server, it complains that the credentials are not stored in the rs server database and won't run the report.

as in most large organizations, the developers do not have control over the rs server, so i cannot manipulate rs config or web config files on the server side; so, how do i get past this obstacle?

thanks in advance

View 1 Replies View Related

SQL 2012 :: Creating Dynamic SSIS File Format - Dynamic CSV File As Output

Mar 2, 2014

I am trying to create an ssis package with dynamic csv file as output. and out format contains query output.

sample file name:

Unique identifier + query output + systemdate();

The expression is looking like this.

@[User::FilePath] + @[User::FileName] + ".CSV"

-- user filepath is a variable from ssis package. File name is the output from SQL query. using script task i have assigned the values to @[User::FileName] .

When I debugged the script task the value getting properly but same variable am using for Flafile destination. but its not working.

View 3 Replies View Related

Oracle && SSIS On 64 Bit...

Nov 9, 2007

Hi All,
We have 64 bit win 2003 & sql2005 EE sp2.. I managed how to trick VS2005 with Oracle connections and have converted a lot of packages already from sql 2000 to sql 2005(using Oracle connetions as well),
now I stack with one oracle connection manager...
So just to clarify, we have SSIS on same SQL server installed, as well have this one Oracle server set as linked server(using Oracle client isntalled), I'm working with BIDS on this server as well..So,
when I created connection manager and test connection - it succeeded.. Now after creating rest in ssis and trying to debug.. I'm getting :

[Connection manager "PRD02.genericuser"] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80004005 Description: "ORA-12154: TNS:could not resolve the connect identifier specified".
What could be a reason of this error, if test connection is working fine, as well preview of data....???
Just in case I tried to create connection manager by using Oracle provider for OLE DB as well as Microsoft OLE DB Provider for Oracle..same things, connection is tested fine in both cases, preview is Okay, when start to debugging - problems...

View 2 Replies View Related

SSIS 64bit To Oracle 10G

Mar 4, 2007

Dose any one have a simple workaround to implement a connection fromSQL 2005 SSIS 64 bit to Oracle 10 G

View 3 Replies View Related

SSIS - Connecting To Oracle

Jan 19, 2006

Hi,

I am new to using SSIS (after using DTS on SQL Server 2000 for many years).

I am trying for the first time to connect to an Oracle 9.2 database and export data from it into SQL Server 2005.

I used the Microsoft OLE DB Oracle Provider to connect to the Oracle instance. The test connection works fine, but when I try and preview a table or copy data from Oracle I get the error....

The component reported the following errors

Cannot retrieve column code page

Has anyone got any ideas how I fix this?

Many thanks

Pete

View 11 Replies View Related

SSIS On X64 Oracle Client X64

Feb 27, 2008

I have tried everything I can find online to resolve an ongoing issue with a SSIS package that pulls data from Oracle. I have other servers that can function just fine connecting to the same Oracle database. I have the 10g x64 client installed and I can TNSPing the database from the command prompt. I get varying errors depending on what I am doing. If I execute the package stored in SSIS MSDB from SSMS on my computer, it runs just fine. If I run it from the server I get:

Info: 2008-02-26 23:02:42.59
Code: 0x4004300A
Source: Data Flow Task RT_ADDRESS DTS.Pipeline
Description: Validation phase is beginning.
End Info
Progress: 2008-02-26 23:02:42.59
Source: Data Flow Task RT_ADDRESS
Validating: 0% complete
End Progress
Error: 2008-02-26 23:02:42.65
Code: 0xC0202009
Source: ROCKDBA DATA UPDATE (NEW) Connection manager "Rock"
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred.
Error code: 0x80040154.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" H
result: 0x80040154 Description: "Class not registered".
End Error
Error: 2008-02-26 23:02:42.67
Code: 0xC020801C
Source: Data Flow Task RT_ADDRESS OLE DB Source [1]
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAG
ER. The AcquireConnection method call to the connection manager "Rock" failed w
ith error code 0xC0202009. There may be error messages posted before this with
more information on why the AcquireConnection method call failed.
End Error
Error: 2008-02-26 23:02:42.67
Code: 0xC0047017
Source: Data Flow Task RT_ADDRESS DTS.Pipeline
Description: component "OLE DB Source" (1) failed validation and returned err
or code 0xC020801C.
End Error
Progress: 2008-02-26 23:02:42.67
Source: Data Flow Task RT_ADDRESS
Validating: 50% complete
End Progress
Error: 2008-02-26 23:02:42.68
Code: 0xC004700C
Source: Data Flow Task RT_ADDRESS DTS.Pipeline
Description: One or more component failed validation.
End Error
Error: 2008-02-26 23:02:42.68
Code: 0xC0024107
Source: Data Flow Task RT_ADDRESS
Description: There were errors during task validation.
End Error
DTExec: The package execution returned DTSER_SUCCESS (0).
Started: 11:02:35 PM
Finished: 11:02:42 PM
Elapsed: 7.156 seconds



I tried uninstalling and reinstalling Oracle on this server. I tried the 32bit Oracle Client as well as the 64bit client. I rebuilt the package to use Data Flow Tasks from scratch, and I have the same issues. If I try and build the package on the server itself in BIDS, I get TNS errors in BIDS trying to create connection managers. I am missing something, but I have no idea what it is. If I try and use a DataReader Source, I get:

System.InvalidOperationException: Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at System.Data.Common.UnsafeNativeMethods.OCILobCopy2(IntPtr svchp, IntPtr errhp, IntPtr dst_locp, IntPtr src_locp, UInt64 amount, UInt64 dst_offset, UInt64 src_offset)
at System.Data.OracleClient.OCI.DetermineClientVersion()
--- End of inner exception stack trace ---
at System.Data.OracleClient.OCI.DetermineClientVersion()
at System.Data.OracleClient.OracleInternalConnection.OpenOnLocalTransaction(String userName, String password, String serverName, Boolean integratedSecurity, Boolean unicode, Boolean omitOracleConnectionName)
at System.Data.OracleClient.OracleInternalConnection..ctor(OracleConnectionString connectionOptions)
at System.Data.OracleClient.OracleConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OracleClient.OracleConnection.Open()
at STPSendMailData.BaseData.SetConnectionAndTransaction()




It just doesn't add up. I get this exception with the 64 bit client installed. Anyone with ideas, I am getting near to the point of migrating backwards to 32 bit SQL on this server to be rid of this problem.

View 5 Replies View Related

Connecting To Oracle RDB From SSIS

Oct 24, 2006

Hi Gurus,

I am trying to build a Data Warehouse using SSIS in SQL Server 2005. My source data is in Oracle RDB. Now when I am trying to connect to oracle RDB using the OLE DB Source component, I am getting the following error.

Test connection failed because of an error in initializing provider. Oracle client and networking componenets were not found. These components are supplied by Oracle Corporation and part of the Oracle Version 7.3.3 or late client software installtion.

Provider is unable to funtion until these components are installed.

I did install the Oracle RDB client software .Apparently it looks like Microsoft OLE DB for Oracle supports Oracle 7.3.3 and above. At the same time I tried to use ODBC for Oracle RDB driver from ODBC data sources. But the OLE DB Source Component in SSIS can't recognize ODBC. So now I am stuck on how to load the data from Oracle RDB to SQL Server 2005 staging area.

Any thoughts on this would be really appreciated. Ideally we are looking to port the data directly from Oracle RDB to SQL Server without any intermediate flat files (flat files etc)

Thanks,
SK

View 8 Replies View Related

SSIS Loading To Oracle

Aug 9, 2007



Hi All,
We are considering loading oracle datawarehouse using SSIS as ETL. I would like to know the experiences of the team in doing the same. Please share your experiences on this.
Thanks,
S Suresh

View 1 Replies View Related

Connecting To Oracle DB Using SSIS

Jul 7, 2006

Can anybody point me how to connect to an Oracle DB using SSIS? I use the ole DB Connection Manager and pick the Microsoft OLE DB Provider for Oracle but it doesn't seem to work. Any suggestions are greatly apprecaited.

Thanks.

Sam.

View 9 Replies View Related

Using Oracle Procedures In SSIS

Apr 25, 2007

Hi Everyone



Please pardon my inexperience, I am new to SSIS. I am having some difficulty with using Oracle

procedures in SSIS. I have installed and configured the Oracle Client Software for 10g. I have managed to

create a connection to the Oracle database that I will be using. I am currently using the Oracle Provider For

OLE DB. I want to add an OLE DB Source component to the Data Flow which I then want to configure to

use an Oracle procedure to bring back the data that I need.



When I want to execute the Oracle Proc in the same way that I would normally execute a SQL Proc it returns

an error saying:



TITLE: Microsoft Visual Studio
------------------------------

Error at Data Flow Task [OLE DB Source [1]]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4A.
An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80040E4A Description: "Command was not prepared.".

Error at Data Flow Task [OLE DB Source [1]]: Unable to retrieve column information from the data source. Make sure your target table in the database is available.



------------------------------
ADDITIONAL INFORMATION:

Exception from HRESULT: 0xC020204A (Microsoft.SqlServer.DTSPipelineWrap)



I have tried using a ADO.NET connection and then using a Data Reader Source component but I get an

error with my SQL Statement saying "Invalid SQL Command"



Could anyone please provide me with some information on what I am doing wrong? Or possibly point me to

information that will help me? I have been searching the net non-stop without success.






View 15 Replies View Related

SSIS Oracle Connectivity

Mar 30, 2007

Hi,



I am trying to write a SSIS package which will pull data from Oracle.

Problem is that the server where I will be installing it does not have Oracle client installed.



Can anyone tell me which driver I should be using?



Thanks in advance.

View 11 Replies View Related

Oracle Parameter Mapping In SSIS !

Mar 19, 2008

Hi pals,

I have a small problem in parameter mapping for Execute SQL Task.
I am using a delete statement with 2 conditions.
Followed by another Execute SQL Task which contains commit statement.

delete from tname where c1 = ? and c2 =?

where c1 is number(4) datatype and c2 is of varchar2(20) datatype in oracle.


The connection manager i am using is ORacle OLE DB provider.
I am passing 2 global variables i.e g_v1 of Int32 and g_v2 of String Type.

In the parameter mapping of the Executing SQL task, i am mapping these 2 variables for
c1 and c2 and changed the datatypes inside parameter mapping as Numeric for c1 and Varchar for c2.

I also set the property as ByPassPrepare = True.

When i am executing the package i getting INVALID NUMBER ERROR.
i believe the SSIS is unable to perform the implict datatype converison.

For the next run, i changed the g_v1 varible datatype to Double and also i changed the parameter mapping for c1 as Doble datatype.
This time it is working fine. I can see the Green signal for the 2 SQL Tasks.

But when i connected to Oracle check the count in the table, the data is not getting deleted.

Also,
I set the property RetainSameConnection = TRUE for oracle connection manager.
I am not able to trace this logical error.

The same is working fine in my local machine.
But i am facing the problem when i deployed the same on the client machine.


Is there any problem with parameter mapping?
What should be equialent Datatype for Oracle NUMBER datatype that should be used inside the SSIS package while declaring the global variable and
inside the parameter mapping.

Is there any way to see/look the sql statement which is formed after Parameter Subsititution inside the log file?
Can we print the SQL Statement Formed by the Execute SQL task inside a script task ?


Any help would be greatly appreciated !
Thanks in advance

View 1 Replies View Related

SSIS OLEDB Issue With Oracle

Jan 29, 2008

I have several SSIS packages that test out without problems on my dev box when connecting to an Oracle server, both from inside BIDS IDE and from the command line with DTexec. The problem happens when running these packages from the app server that will be used for production; the packages get through the validation, preparation and pre-execution phases but crash when starting the execution phase with this error:
" Code: 0xC0202009
Source: Import Level tables Level1 Source [1261]
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E07.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for Oracle" Hresult: 0x80040E07 Description: "ORA-01861: literal does not match format string".

I've Googled this and it often refers to a date issue. I am not writing to Oracle but importing to SQL Server by using SSIS import tasks, and my question is why would this work without problems from my box but not on this app server? Both machines have the same version of Oracle client installed. My box has the client SQL server with BIDS and the app server only has the full version of SSIS without SQL Server installed. At this point I'm trying to determine if this is an Oracle issue or SSIS. Any ideas?

View 7 Replies View Related

SSIS With Oracle Provider For OLE DB 0xC0202009

Apr 24, 2008



I've read al lot of the post on this one. Mine seem very simiular.
I create the SSIS package with the wizard and save sensitive data with password. When the SSIS wizard completes and executes the package everything works. However when I attempt to execute the package with dtexec it fails with "
Source - Query [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. "

This even happens also when I attempt to run the package in SSIS after it was created. However in SSIS designmode I can open my query source , parse the query, and prview the data. However when I attempt to execute the package no dice. I'm sure this is a password issue but I have now idea where to fix it.

FYI,

Have tried the following.
SourceConnectionOLEDB check option Allow saving of passowrd
Package Exlporer / Connection Mangers/ SourceConnectionOLEDB shows password save with ******

Have Enabled package configurations with a XML file all values save to file.


Thanks,
Z

View 4 Replies View Related

Execute Oracle Procedure From SSIS

Sep 18, 2007



is it possible to execute Oracle procedure from within SSIS?
thanks

View 16 Replies View Related

SSIS Connection To Oracle View

Jun 20, 2006

Hi

I have a number of scripts that run against an oracle server to retreive data to manipulate before populating a sqlserver database. I am connecting using an Odbc connection and using the DataReader Source to read from the Oracle table. It all seems to work ok.

When I have tried to extract data from an Oracle view in the same way it doesn't seem to work. The error message mentioned the PrimeOutput() method and error code 0xC02090F5. The view is very big so is it possible that the connection simply timed out?

Any ideas?

Thanks

B

View 6 Replies View Related

How To Get Database Name In Oracle DB Connection In SSIS

Apr 27, 2007



Hi,



I used OLE DB for oracle connection provider, it takes only Server name, User id, Password but along with it,

I want to give it Database name like in OLE DB for Sql Server.



Is it possible to provide it in some other way, so that i can put DataBase name directly also.



Thanks

View 12 Replies View Related

Oracle Query Does Not Work In SSIS

Nov 7, 2006

Hello All,

I am trying to run the below query in SSIS, However it does not work, but when I try to run the same query in Oracle client it works fine. Here is the following query:

select 'AAA-'||OWNER AS SOURCE,
table_name,
column_name,
SUBSTR(data_type,1,50) DATA_TYPE ,
SUBSTR(decode(data_type,'NUMBER', DATA_PRECISION, DATA_LENGTH),1,20) DATA_LENGTH
from all_tab_cols
where owner='XXX'
ORDER BY TABLE_NAME, COLUMN_ID

Here ARE the following errorS I get when running from SSIS:

[ORA_AAA_XXX [147]] Error: There was an error with output column "SOURCE" (612) on output "OLE DB Source Output" (157). The column status returned was: "The value could not be converted because of a potential loss of data.".

[ORA_AAA_XXX [147]] Error: The "output column "SOURCE" (612)" failed because error code 0xC0209072 occurred, and the error row disposition on "output column "SOURCE" (612)" specifies failure on error. An error occurred on the specified object of the specified component.

Any help?

Regards,

Raju





View 3 Replies View Related

Consuming Oracle (9G) In SSIS On X64 Server

Nov 25, 2007

Hi,

I believe this question has been covered quite a bit, but none the less I wanted to ask it as I still have no resolution at the moment. I am consuming a table from Oracle which has a data type of NUMBER. When I use a .Net Provider to consume the data, the SCALE defaults to 0 for these select columns and thus we lose any decimal point information for these columns. I have tried using both the .Net Provider and the .Net for OLEDB providers for ORACLE. Both seem to suffer from this. The SSIS server itself is a Win 03' server on x64 hardware architecture. Also, when trying to use the Oracle Provider for OLEDB it throws a design-time error stating "Error in Initializing Provider".


Thanks!
Derek

View 4 Replies View Related

Missing Oracle OLEDB Provider In SSIS

Sep 18, 2007

Windows 2003(64bit) server, SQL 2005 Server(64bit), Oracle client 10G rel2 (64bit) is installed. But when I am going to create a datasource to the Oracle database the Oracle OLEDB Provider is missing, the only Providers avaliable is from Microsoft.

I have tried to install ODAC (64bit) with no result.

Anyone who have come across this problem and how do I do to resolve it?

BTW! Is there a way to try communication with the OLEDB provider from the commandprompt?

View 2 Replies View Related

Loading Data From Oracle To SQL Server Using SSIS

Mar 7, 2007

Ok, we have built a data mart using SSIS etc...for transformations and loading.

Our biggest single problem we have currently is loading data from an Oracle server to our SQL server. Some tables from oracle run fine when retrieving the data but there is one particular table that just doesn't load fast enough (9 million records take over 12 hours). It seems that we are idling alot and its not always running.

Can anyone help with this problem?

View 8 Replies View Related

SSIS: Oracle Import Works, But Not When Scheduled

Dec 26, 2006

Hi,

I am running SQL Server 2005 and have built a simple SSIS package to import data from an oracle database to my SQL Server 2005 database. When I run it in SSIS, it works and it imports just fine. When I schedule it, it gives me problems. Help!

It might be a problem with Oracle Provider client I installed. Is there a client version I can download and install? the one I downloaded from oracle doesn't work. I bet i did something wrong though.

Here is my version:

Microsoft SQL Server Management Studio 9.00.2047.00
Microsoft Analysis Services Client Tools 2005.090.2047.00
Microsoft Data Access Components (MDAC) 2000.086.1830.00 (srv03_sp1_rtm.050324-1447)
Microsoft MSXML 2.6 3.0 4.0 6.0
Microsoft Internet Explorer 6.0.3790.1830
Microsoft .NET Framework 2.0.50727.42
Operating System 5.2.3790

Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: IDE Standard

SQL Server Analysis Services
Microsoft SQL Server Analysis Services Designer
Version 9.00.2047.00

SQL Server Integration Services
Microsoft SQL Server Integration Services Designer
Version 9.00.2047.00

SQL Server Reporting Services
Microsoft SQL Server Reporting Services Designers
Version 9.00.2047.00



Thanks,

Ryan

View 5 Replies View Related

SSIS Import Data From Oracle To SQL Server

Apr 19, 2007

I am getting this error when connecting to Oracle db. I tried using Microsoft OLEDB provider for Oracle it give me error and tells me the error could not be retrieved from Oracle. When I try the Native OLDDB provider for Oracle I get





Warning at {0F67F2FA-E3F8-4F44-93EC-47D513A34FD4} [Orcale Database WPHP2 [1]]: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from that property will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page from the component's locale ID will be used.

Error at Copy DSS_SJV_Volume_History [DTS.Pipeline]: The "output column "COMP_UNIQUE_ID" (2007)" has a precision that is not valid. The precision must be between 1 and 38.





What do I do !!!!!!!!!!



Thanks

Shabnam

View 1 Replies View Related

Using SQL Results As Parameters For Oracle Query Through SSIS

Apr 20, 2006

Is there a way to use the results of a query as parameters of a WHERE statement in Oracle?

I have a list in a SQL table that I would like to use as criteria for a query through Oracle? Basically I have two data sources; one Oracle and the other SQL, I'm currently querying the SQL one, then using a Merge Join object in SSIS to combine the data. The SQL query has roughly 2000 rows which is fine, however the Oracle one had several million... I've tried to limit the oracle one as much as I can however its still returning far too much data...

If anyone has any suggestions on how to do this I'd greatly appreciate it. I've looked into Linked servers, however this isn't an option with my set up due to account restictions on the Oracle server. Thanks and let me know if you require any other details

View 3 Replies View Related

Unicode Conversion Error Oracle-SSIS

Jan 31, 2008

I am using SSIS to extract data from one oracle server to another. When i use this SSIS package in another Server, it gives me Unicode conversion error to non unicode for some Columns which are VARCHAR2 type. I have to then used drived column and use conversion, but my question is why this error from i migrate my SSIS package to another server.

View 1 Replies View Related

SSIS And Oracle Data Provider For .Net (Urgent Please)

Oct 1, 2007

Hi All,

I want to use "Oracle Data Provider for .Net" driver to get Oracle 10g data in SQL Server 2005 environment. I am getting this error message when try to import oracle tables in sql server.

"Operation could not be completed. The server name is not specified (DTS wizard)."

Any help will be very highly appreciated.

Also I want recomemndation on which driver should I use for getting huge Oracle data into SQL server environment?

Thanks a lot.

Best Regards
Munir

View 1 Replies View Related

Recommendations For Oracle Access From SSIS 64-bit Server?

Dec 3, 2006

We're having issues with Microsoft's 64 bit Oracle OLE-DB driver... when we escalated to Microsoft PSS they recommended that we go with Oracle's OLE-DB driver since Microsoft's hasn't been modified in a few years.

I've seen a lot of differing opinions on this topic (almost everyone says do not use Oracle's driver) and am wondering if there's a definitive answer here.

Larry

View 1 Replies View Related

Oracle SSIS Runs In DTExecUI, But Not In 32-bit DTExec

Aug 28, 2007



I've worked for awhile to get an SSIS package that connects to Oracle to succesfully run via DTExecUI from a 64 bit SQL Server. I completely understand that DTExecUI runs in 32 bit mode, but I need to initiate the package from a stored proc so I need to be able to utilize the 32 bit DTExec from either a xp_cmdshell call or from an sp_start_job (thanks to MatthewRouche for the suggestion). Both Ora92 and 10g were installed on the SQL Server.

Here's what I've tried unssuccessfully

1. SQL Job - Just calling the package from an SSIS step. I wouldn't expect this to run because it is 64 bit DTExec.
2. SQL Job - A job that calls the 32 bit version of dtexec from cmdexec. Here is 2 examples I have tried, the first is because I came across several postings saying that there is a problem with the "(x86)" for the Oracle driver.


\server_nameE$ProgramFilesLegacyMicrosoftSQLServerX8690DTSBinnDTExec.exe /DTS "PackageName" /SERVER "SERVER_NAME" /SET Package.Variables[PLT].Value;"8H" /CONFIGFILE "\SERVERConfigFile.dtsConfig" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EW

\server_nameE$Program FilesMicrosoft SQL Server (x86)90DTSBinnDTExec.exe /DTS "PackageName" /SERVER "SERVER_NAME" /SET Package.Variables[PLT].Value;"8H" /CONFIGFILE "\SERVERConfigFile.dtsConfig" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EW

Both of these give me the error below:


System.Exception: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.


I'm assuming that it is running in 32 bit mode because this was at the beginning of the job history log:

Executed as user: "XXX". ....3042.00 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved

3. I then tried to call the package from a batch file on a file server that had integration services installed on. Got the same error as above.

I'm obviously missing something if I can get it to work in DTExecUI but not DTExec 32-bit.

Any ideas? Below are some postings I have already visited several times:

Windows 64 bit and Oracle
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=358365&SiteID=1

Connecting to Oracle on 64-bit (x64) machine
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=159581&SiteID=1

One paragraph that stands out on this posting is:

Find the location of the application that is generating the error. Check the path to this location and see if it contains any parenthesis. If so, you must relocate the application to a directory without any parenthesis in the path.
This didn€™t work for me, unless I was doing it wrong.

Error retrieving numeric data from Oracle 10g on 64 bit Itanium SSIS server
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1183296&SiteID=1

Connection Problems to Oracle Database
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1307460&SiteID=1

If this posting was complete, it looks like what I was looking for.

View 9 Replies View Related

Oracle Connection Information In SSIS Package.

May 2, 2007



Hi,



I want to make a SSIS package with Oracle and deploy it in no of oracle databases, for it every time I have to open package and change connection information.



How can I make oracle connection information as variable value so that when I deploy my package on Oracle database it will pick all oracle connection information(User Id, Pwd, Server Name) automatically.





Please let me know about this.





Thanks

View 4 Replies View Related

SSIS Oracle --&&> SQL Server Import Fails

Sep 6, 2006

Im getting the following error when I try to export from Oracle 9i and import into SQL Server 2005 using Oracle and SQL OLE DB Provider's respectively.

Cannot retrieve the column code page infor from the OLE DB Provider. If the component supports the "DefaultCodePage" property, the code page from that property value will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page from the component's locale ID will be used.

I know there is a way to change the property settings for the OLE DB Provider in the Data flow section of the development studio BUT ...

1) Is there a way to change this outside of the development studio?

2) I can't create the package to setup in the studio because even when I uncheck execute immediately and check save package, it still fails and never creates anything.


Any help is much appreciated

Thanks

Scott

View 2 Replies View Related

SSIS Invoke Procedure In Oracle Package

Feb 6, 2008

Hello there,

I'am asking you people if it's possible to invoke procedure, functions in package in Oracle database > 9.X with SSIS package...

Thx for your incoming answers

Regards,

KiK2k1

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved