473,513 Members | 13,099 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 12191

"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
2517
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
17686
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
6181
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
2925
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
2240
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
4910
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
1653
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
3686
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
11775
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
7254
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7373
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7094
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7519
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5079
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.