![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need to call 3 stored procedure at the same time | mac4rfree | Shell Programming and Scripting | 1 | 03-26-2009 08:40 AM |
| calling a PL/SQL stored procedure from KSH | BlAhEr | Shell Programming and Scripting | 1 | 10-09-2007 05:18 AM |
| Calling MYSQL Stored Procedure? | kshelluser | Shell Programming and Scripting | 3 | 12-19-2006 09:59 PM |
| Stored Procedure on NT/SQLServer | mayohan | Shell Programming and Scripting | 3 | 08-09-2005 05:29 AM |
| Oracle stored procedure. | kamil | UNIX for Advanced & Expert Users | 2 | 11-05-2003 01:39 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
Can anyone please let me know where to check if a particular stored procedure exists. If the procedure exists I want to display some message and if the procedure does not exists i want to exit with error message. checking from dba_objects doesnt help. suprisingly the procedure i created is not available there and i get "no rows selected". ![]() |
|
||||
|
Seems like Oracle, and in Oracle, the stored procedures are located in user_objects, which means, you should be able to track it down if you have access to dba_objects.
So, if you are not finding what you are looking for there, it probably doesn't exist. When searching for the object name, test out your search using "like" just in case you spelled something wrong. It happens! ;-) |
|
||||
|
Hey
thanks for your suggestion. Yes ive done mistake.. but not in spelling but in CASE. Shoule have searched my procedure name in uppercase ![]() Also, The same information is available from user_source data dictionary. thanks anyways. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|