473,324 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

How do you execute an Oracle Stored Procedure from a SQL Server DTS package?

I've tried several different way to execute a oracle stored
procedure from a DTS package but to no avail.
I have a Linked Server setup which does bring back Oracle tables from the
server when I click on the Tables icon.

Here's my DTS statement:

exec omsd..OMS_TECO.SP_Callback_Update_Pkg(116);

omsd is the linked server
oms_teco is the owner of the oracle stored procedure
SP_Callback_Update_Pkg is the oracle stored procedure
(116) is the parameter passed to the oracle stored procedure

I put the above exec statement in a DTS Execute SQL Task using a Connection
that I tried using several OLE and ODBC Data Sources. I can't seem to find
the right combination.

Please Help!!!!!!!!

--
Message posted via http://www.sqlmonster.com
Jul 23 '05 #1
1 12160

"robin via SQLMonster.com" <fo***@SQLMonster.com> wrote in message
news:2b******************************@SQLMonster.c om...
I've tried several different way to execute a oracle stored
procedure from a DTS package but to no avail.
I have a Linked Server setup which does bring back Oracle tables from the
server when I click on the Tables icon.

Here's my DTS statement:

exec omsd..OMS_TECO.SP_Callback_Update_Pkg(116);

omsd is the linked server
oms_teco is the owner of the oracle stored procedure
SP_Callback_Update_Pkg is the oracle stored procedure
(116) is the parameter passed to the oracle stored procedure

I put the above exec statement in a DTS Execute SQL Task using a
Connection
that I tried using several OLE and ODBC Data Sources. I can't seem to
find
the right combination.

Please Help!!!!!!!!

--
Message posted via http://www.sqlmonster.com


Why not connect directly to the Oracle server using an Oracle connection
object in the DTS package? That might be easier than going through a linked
server.

I've never tried using Oracle linked servers myself, but check out this post
(and the rest of the thread):

http://groups.google.ch/groups?hl=en...%40tkmsftngp05

Simon
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rick | last post by:
Package header named RecordSetPKG as follows as --Package defines the type ref cursor stored procedures will use varables of this type to stored --multple records back to the calling stored...
13
by: Lig | last post by:
We have an implementation of Oracle 9i database. We have a team of 20 developers working on a project. We use PL/SQL DEVELOPER and Visual Source Safe to cotrol the source. The problem we have at...
1
by: Jason Leiser | last post by:
Is there a way to call an Oracle Procedure using the MS OLD DB Provider for Oracle object in a SQL Server 2000 DTS package? If it can't be done this way, is there another way to retrieve data from...
1
by: rAinDeEr | last post by:
Hi, I have started using DB2 UDB ESE v8.2 in Linux recently. I have seen a lot of articles on packages, prepare statement, bind and execute statement. I havent got a clear idea. I have...
0
by: Brew | last post by:
Hello, I'm writing an ASP.NET 2005 (VB) Website with an Oracle 9i backend I have an oracle package with stored procedures and functions I need to use from the VB Code, I'm trying to use the...
2
by: ssp | last post by:
Hello there, I am trying to do very simple thing in trying to return results from an Oracle (10g) Stored Procedure using the Enterprise Library June 2005 Version. The stored procedure first:...
0
by: cetram | last post by:
Hello! I'm trying to fix an appliaction created using ColdFusion MX and Oracle 9i. The application worked fine until our IT department reinstalled the oracle server. As far as I've been able to...
1
by: D.Stone | last post by:
I wonder if anyone could offer some guidelines on the following problem? I need to transfer records from a SQL Server table to an 'equivalent' Oracle table; however if the primary key for any...
3
by: rajkumarbathula | last post by:
Hi I was struck up with big problem of executing a oracle stored procedure in C#. Inputs 1:I am having 1 oracle stored procedure eg. myProc() and this procedure takes 1 INOUT parameter. of type...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.