Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 27th, 2005, 09:26 AM
DBStudent DBStudent is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 54 DBStudent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 1 m 34 sec
Reputation Power: 5
how to execute oracle stored procedure from command

Hi, need ur help again,

I would like to know how to execute stored procedure from Command, like MS Dos, Solaris Command prompt?

Thanks!

Reply With Quote
  #2  
Old March 27th, 2005, 10:09 AM
paulh1983 paulh1983 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Dec 2004
Posts: 1,255 paulh1983 User rank is Sergeant (500 - 2000 Reputation Level)paulh1983 User rank is Sergeant (500 - 2000 Reputation Level)paulh1983 User rank is Sergeant (500 - 2000 Reputation Level)paulh1983 User rank is Sergeant (500 - 2000 Reputation Level)paulh1983 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 15 h 14 m
Reputation Power: 17
erm.... do you know how execute them from SQL/oracle? shouldnt the syntax be same?

try:
execute procedurename;
or if parameters then:
execute proname('para1','para2'...)

if execute doesnt work change it with exe!

Last edited by paulh1983 : March 27th, 2005 at 10:39 AM.

Reply With Quote
  #3  
Old March 29th, 2005, 01:31 AM
DBStudent DBStudent is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 54 DBStudent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 1 m 34 sec
Reputation Power: 5
Quote:
Originally Posted by paulh1983
erm.... do you know how execute them from SQL/oracle? shouldnt the syntax be same?

try:
execute procedurename;
or if parameters then:
execute proname('para1','para2'...)

if execute doesnt work change it with exe!



This may require use the SQL Plus. I would like to execute the stored procedure from DOS or Unix Shell. Any way to achieve this??

Many many thanks!!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > how to execute oracle stored procedure from command


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT