dbTalk Databases Forums  

Execute SQL problem with Oracle

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute SQL problem with Oracle in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Elmer Miller
 
Posts: n/a

Default Execute SQL problem with Oracle - 01-20-2005 , 08:09 PM






I have a strange problem that I am having trouble troubleshooting. I need to
execute a SQL commend against an Oracle database using DTS. I created a
'Microsoft ODBC Driver for Oracle' connection and based an 'Execute SQL'
task on that connection. When executing the task I get the "Multiple-step
OLE DB operation generated errors" message. The strange thing is that if I
go into properties of the Execute SQL task and click 'Build Query', I can
execute the query just fine in the query builder. Do you have any
suggestions on how I can troubleshoot this problem? Why does the query
builder work but the Execute SQL task doesn't. PS I also tried the
'Microsoft OLE DB Provider for Oracle' with the same results.
Any help would be appreciated. Thanks.



Reply With Quote
  #2  
Old   
Elmer Miller
 
Posts: n/a

Default Re: Execute SQL problem with Oracle - 01-23-2005 , 08:22 AM






One more thing: The 'Transform Data' task also works on the same Oracle
connection. What is unique about an 'Execute SQL' task that causes the
'Multiple-step OLE DB operation generated errors' error?

"Elmer Miller" <millere (AT) empireco (DOT) nospam> wrote

Quote:
I have a strange problem that I am having trouble troubleshooting. I need
to execute a SQL commend against an Oracle database using DTS. I created a
'Microsoft ODBC Driver for Oracle' connection and based an 'Execute SQL'
task on that connection. When executing the task I get the "Multiple-step
OLE DB operation generated errors" message. The strange thing is that if I
go into properties of the Execute SQL task and click 'Build Query', I can
execute the query just fine in the query builder. Do you have any
suggestions on how I can troubleshoot this problem? Why does the query
builder work but the Execute SQL task doesn't. PS I also tried the
'Microsoft OLE DB Provider for Oracle' with the same results.
Any help would be appreciated. Thanks.




Reply With Quote
  #3  
Old   
Elmer Miller
 
Posts: n/a

Default Re: Execute SQL problem with Oracle - 01-25-2005 , 09:39 AM



I solved the problem myself. The problem is caused by the use of the Timeout
property of the Execute SQL Task. Apparently Oracle connection doesn't
suport timeouts. Setting the timeout to 0 eliminated the errors.

"Elmer Miller" <millere (AT) empireco (DOT) nospam> wrote

Quote:
One more thing: The 'Transform Data' task also works on the same Oracle
connection. What is unique about an 'Execute SQL' task that causes the
'Multiple-step OLE DB operation generated errors' error?

"Elmer Miller" <millere (AT) empireco (DOT) nospam> wrote in message
news:ugOi241$EHA.2076 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
I have a strange problem that I am having trouble troubleshooting. I need
to execute a SQL commend against an Oracle database using DTS. I created a
'Microsoft ODBC Driver for Oracle' connection and based an 'Execute SQL'
task on that connection. When executing the task I get the "Multiple-step
OLE DB operation generated errors" message. The strange thing is that if I
go into properties of the Execute SQL task and click 'Build Query', I can
execute the query just fine in the query builder. Do you have any
suggestions on how I can troubleshoot this problem? Why does the query
builder work but the Execute SQL task doesn't. PS I also tried the
'Microsoft OLE DB Provider for Oracle' with the same results.
Any help would be appreciated. Thanks.






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.