How to view at sqlplus prompt the code of stored_procedure "mysp123"?

Can I somehow list in SQLPlus the content (=code) of a stored procedure called "mysp123"
without executing it?
Peter

Hi, Peter,
You can query the data dictionary views user_source, all_source or dba_source, like this:
SELECT       text
FROM       all_source
WHERE       name          = 'MYSP123'     -- Case-sensitive
AND       owner          = 'PETER'          -- Or whatever
AND       type          = 'PROCEDURE'
ORDER BY  line
;Remember that all text inside either kind of quotes is case-sensitive. If you normally call the procedure with double-quotes and small letters, then the name you put in the single-quotes in the WHERE clause must have small letters.
If the procedure is in you own schema, you can query user_source instead of all_souce, and omit the line
AND       owner          = 'PETER'          -- Or whateverEdited by: Frank Kulash on Feb 9, 2010 11:16 AM

Similar Messages

  • How to view capacity evaluation in the past ?!?!

    Hi friends,
    I'm writing a report to show the capacity evaluation within date range. I found t-code CM50 but it just show result from current date to future. Please tell me how to view it in the past.
    Thanks,
    Hau

    Hi ,
    In CM50  click on change time profile
    here pue Start date in -ve for Planing and Evaluation
    For eg - if you want to see the planing in last 30 days Put 30-
    Regards
    Girish

  • MP/WebEx 8.0 - How to View Meetings Scheduled in the Future

    I have a newly deployed MeetingPlace/WebEx 8.0 on-prem node solution with primary/backup configuration, with the WebEx productivty tools. After an upgrade, I want to verify that any meetings scheduled before the upgrade, are still there- that those entries/reservations on MeetingPlace didn't somehow get wiped out during the upgrade. MeetingPlace Conference Manager allows me to see meetings in progress or what has already taken place, but I don't see a way how to view future/upcoming scheduled meetings. In our environment we can do ad-hoc conferencing by starting it via the TUI, or WebEx short-cut on the desktop, and I'm wondering whether MeetingPlace 8.0 even bothers to reserve audio ports, and doesn't really care about the schedule since we have an integration into Outlook calendar. Does MeetingPlace 8 just let Outlook calendar keep track of the reservations and Meetingplace doesn't care? I'm think that since the meeting organizer doesn't necessarily state how many attendees per meeting, MeetingPlace wouldn't even know how many audio or web ports to reserve. So,can someone speak to whether MeetingPlace 8 keeps track of scheduled meetings and/or reserves audio ports, such as MeetingPlace Express did, or where to look whether it isn't configured to keep track?
    Thanks!
    Mike.

    Mike,
    If you scheduled you MP 8 meetings using the WebEx productivity tools you are all set.  When scheduling using WebEx productivity tools the meetings are not reserved on MP as you suppected.
    If you scheduled using MP scheduling then you need to reschedule the meetings using the WebEx productivity tool.  This is easily done by going into the Outlok scheduled meeting and clicking on the WebEx ball and then saving.  The recipiants will get the new meeting information.
    Let me know if you have any questions.
    John

  • Cffunction and how to ? can someone explain the code to me line by line

    Hello i went to get this online and i want to test it.
    the udf is supposed to
    * CSVFormat accepts the name of an existing query and
    converts it to csv format.
    * Updated version of UDF orig. written by Simon Horwith
    my question how to break it down.
    can someone explain the code to me line by line
    thanks

    silviasalsa wrote:
    > thanks
    >
    > but line by line
    >
    > what is
    > if(ArrayLen(Arguments) GTE 2) qualifier = Arguments[2];
    > if(ArrayLen(Arguments) GTE 3 AND Len(Arguments[3]))
    columns = Arguments[3];
    > returnValue[1] = ListQualify(columns, qualifier);
    > ArrayResize(returnValue, query.recordcount + 1);
    > columns = ListToArray(columns);
    > for(i = 1; i LTE query.recordcount; i = i + 1)
    > {
    > rowValue = ArrayNew(1);
    > ArrayResize(rowValue, ArrayLen(columns));
    > for(j = 1; j LTE ArrayLen(columns); j = j + 1)
    > rowValue[j] = qualifier & query[columns[j]]
    & qualifier;
    > returnValue[i + 1] = ArrayToList(rowValue);
    > }
    > returnValue = ArrayToList(returnValue, Chr(13));
    > return returnValue;
    > }
    >
    > thanks
    Apparently this UDF takes two optional parameters so that one
    can define
    (A) a text "qualifier" to use in the CSV file, this is
    usually the
    single quote|tick ['] mark - but sometimes one wants this to
    be a
    different character and (B) what columns to use in the
    output in case
    one does not want to use all the columns in the record set
    in the
    outputted CSV file.
    The if statements are checking for these optional parameters
    and if
    found setting the values in them to internal variables.
    These
    variables are then used in the rest of the logic to create
    the CSV output.
    HTH
    Ian

  • How to view MAC addresses on the network?

    I can log into other non-apple routers via browser and see a list of MAC addresses of equipment connected to the network, but I don't see how to view them if using my Airport Extreme and going in through Airport Utility.
    Any thoughts?

    If It's the same Mac that can see the PC, it's already set up correctly. Something must be wrong somewhere.

  • How to get message answer in the code

    Hi,
    I'm using jdeveloper 11.1.2.3.0
    I have such a code on save button of my form:
    public void onSaveClick(ActionEvent actionEvent) {
    //first code
    if(...) {
        RichPopup.PopupHints hints = new RichPopup.PopupHints();
        getOnSavePopup().show(hints);
    //second code
    }I would like to know if there is any way to display a popup with dialog/message with yes/no answers,
    then to get the answer in the code, and according to the answer to continue with the code.
    Without using dialog listener, because I want to continue with the code of the save function.
    Hope my question is clearly.
    Thanks a lot!

    Hi,
    Check
    http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_dialog.html

  • How to view images stored in the database

    Hi all
    I've a table in the db lets say T and two cols (ID & IMAGE). IMAGE data type is ORDIMAGE. I want to view this image in the web browser using the Dyanmic Page in Oracle Portal. Please anyone help me.
    Regards

    query = "Select * From (SELECT *,COUNT(1) OVER (PARTITION BY ENo) AS Occur FROM EmpLeave)t Where Occur >1)";
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Does anyone know how to unlock an iPad if the code is forgotten?

    Is there anyway of unlocking an iPad if the code is forgotten? Thank you!!

    If you've forgotten the passcode then you will need to connect the iPad to the computer that you normally sync to and you should then be able to reset the iPad and restore/re-sync your content to it (http://support.apple.com/kb/HT1212) - you may need to put the iPad into recovery mode to be able to reset it : http://support.apple.com/kb/ht1808
    If you do it via a different computer then :
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present.

  • How to view RUN_REPORT_OBJECT built-in source code

    Ps help.
    I'm creating a batch report that will execute from PL/SQL not forms - so I can't use this built-in directly on my PL/SQL procedure. How do I view RUN_REPORT_OBJECT source code and that of the functions that it calls.
    Thanks
    Khombi

    good question for the report forum :
    Reports

  • How to view changes made to Program code in PRD?

    Hi all,
    I'm currently auditing SAP landscape management and noted the following in the PRD environment:
    1. table logging is disabled (transaction SM31)
    2. profile logging is disabled
    3. transaction SM20 doesn't give anything
    4. don't have access to changes with SECR transaction.
    My question is how can I have a population of changes made directly in program codes on PRD? (without going trhough the transport manager).
    SAP R/3 release: 4.5B
    Thanks for your help

    Hi Rainatou,
    Change logs are disabled in PRD considering the database load and performance.
    The changes to program code can be better viewed in DEV by displaying the program,Utilities,Version management.
    If you want to compare to code in DEV and PROD you can use split screen editor (SE39).
    Regards,
    Babul.

  • I want to receive and send data in ASCII how can I do? (Have the code)

    I use my program connect to server (the server is .exe file) after I connect in ms-dos mode I want to send the command from client to server but nothing is happen such as I want to send MOVE 50 it means move 50cm nothing is back(may be because I haven't convert it to ASCII first) How can I change mycode to read and wrtie ASCII code?
    public class proxy_server {
        /** Creates a new instance of proxy_server */
        public static void main(String args[]) throws IOException {
                Socket sock=null;
                PrintWriter out=null;
                BufferedReader in=null;
                sock = new Socket("localhost", 3000);
                out=new PrintWriter(sock.getOutputStream(),true);
                in=new BufferedReader(new InputStreamReader(sock.getInputStream()));
                BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
                String userInput;
                while(( stdIn.readLine()!=null)){
                    userInput=stdIn.readLine();
                    out.println(userInput);
                    System.out.println("echo"+in.readLine());
                out.close();
                in.close();
                stdIn.close();
                sock.close();
    }

    we usually should use a blank-line-check as an exit condition.Certainy not 'usually'. See below.
    I was just talking about a primitive stdin input on
    console.But nobody else was, especially the OP.
    Simple null check on readLine while loop often causes
    confusion among Java newbies becuase they can't exit
    the program.
    If and only if you define your operating instructions so that pressing ENTER is the way to exit the program, you would include the blank line check. Not otherwise, and certainly not 'usually'.
    Otherwise they can always type Ctrl/Z or Ctrl/D to exit the program. And that's the correct way to clear up the confusion. Terminating the loop on a blank line just adds to the confusion

  • How to find out which application the code is running in?

    Hi,
    I am trying to develop a common code which will be part of various different applications.
    But I need to be able to figure out within the Java application which process is calling me.
    For example: one of the applications may be invoked as:
    java /opt/app1_dir/app1 ... (various command line options)
    I need the ability to access the String "/opt/app1_dir/app1" in the above call. I think String array from main method args[0,...] will give me the ability to access the command line parameters but not the actual command string.
    Due to legacy reasons, it is not possible to change the calling string.
    Can anyone please help me to figure out how I can access the above in my java application.
    Thanks,
    Amol

    amol_dev wrote:
    Thank you for your reply Brynjar.
    However, I was trying to figure out a way to do this without having to change the calling command line, because due to legacy reasons, it is not possible to change the command line calling the parent applications of this common code.You cannot change the command line, but you can change the applications?
    In main() do this:
    System.setProperty("whoami",(new Throwable().getStackTrace()[0].getClassName()));Elsewhere:
    String whoami = System.getProperty("whoami");

  • How to view from work on the internet? WVC54GCA

    How do you check it froma website from outside of your network Like when you are at work or another house????
    Is there a way?

    To access your camera from the Remote Location, First thing which you need to do is, Login to your camera setup page, and on the left side click on the Options tab and you need to Enable "Alternate Port" i.e : 1024 and you need to open the same port on your router. Once done now note down the WAN IP which you will get from the Routers Status tab.
    Now open IE and input the WAN IP (http://wanip:1024) and hit enter and it will display you your camera and you can view your camera. 

  • How to view Output Messages in the LabWindows UI?

    In my LabWindows/CVI I would like to view the output messages that are sent from sequences:
    "RunState.Engine.NewOutputMessage(Parameters.Messa​ge).Post()"
    I thought there might be a TS UI Control like the one in the sequence editor called Output - but I can't find one.
    So far I have managed to catch the message type (TS_UIMsg_OutputMessages) but I can't actually get the string from the event.
    Does anyone have an example of doing this?
    Thanks,
    Ronnie
    TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009

    Ok, let me see if I can explain how to do it more clearly then.
    1) Create a new OutputMessages collection using TS_EngineNewOutputMessages(). This collection will store your own private copy of the output messages. You can hold onto and add to this collection if you want to store them. If not you can just close the handle to free it once you are done with it.
    2) When you get the UIMessage you need to get the ActiveXData property of it. I think the CVI function should be called something like TS_UIMessageGetActiveXData(). The CAObjHandle you get back from this function is a different OutputMessages object that you should NOT hold onto (because of multithreading reasons), you should instead close the handle before returning back from your UIMessage handler. Before doing that though, you should use the TS_OutputMessagesCopyMessagesToCollection method to copy the messages from this OutputMessages object to the new one you created in step 1) above (i.e. you are making your own private copy of the messages and leaving the ones in the UIMessage unchanged (again, it is for multithreading reasons that it must be done this way to avoid race conditions).
    3) You now have a copy of the output messages from the event in your own private OutputMessages collection that you created in step 1) above. You can now access it to get the info for the output messages.  You can get the number of items it contains (and it might contain more than one), by using the TS_OutputMessagesGetItem() function and using CA_VariantInt(index) to package the integer that you pass for the index parameter.
    4) Getting the item gives you an OutputMessage object (notice no plural). You can get information about the output message using the methods and properties of the OutputMessage class (see the online help for more info). There is more to an output message than just the message text. There is also a timestamp, category, location, icon, id, severity, color, etc.
    If you need more information please let us know specifically what you are having trouble with or need more information about.
    Hope this helps,
    -Doug

  • How to view (or print) all the links (URL's) of a webpage?

    Years ago, when I was a Windows user, I recall my browser (IE or Firefox, can't recall which) having an option where I could print *all* the weblinks (URL's) at the end of the article.  I don't see this option anywhere in Safari.
    I'd not only like to print them, but even more-so, to *view* the URL's, so I can copy/paste them into a TextEdit file.
    Are any of these features possible in Safari 7.0.6 ?
    Thanks!

    Don't know much about SOA Composer (sorry - you've hit the BPM forum), but you should be able to see the business rules from the Oracle BPM Composer. If you've installed BPM, go to http://xx:####/bpm/composer and you'll see business rules after poking around a little. Let me know if you need more help finding them.
    Dan

Maybe you are looking for

  • Deleting Workflows in Access Enforcer

    Hi,      I am trying to delete 'Paths' in AE and receive the below error. <b> Error deleting Workflow Path. There are about 20 requests tied to this path.</b> This is in the sandbox and the processing of requests does not really matter. The 20 reques

  • Solution to connection resets in SQL Developer under Windows 7

    I recently ran into constantly lost connections while browsing my schema with SQL Develop. I found this Re: SQL Developer: Not able to view tables by John McGinnis how to work around this bug. To whom it may now concern, here is the solution: This bu

  • Subsequent debit, credit and credit memo

    Hi,   what is the difference between subsequent debit, credit and credit memo in MIRO transaction.    In case of vendor had given us credit note with relevant to particular for which we had already completed the invoice verification and payment also

  • AIR installation issue

    I have Mac OS X (10.7.2), my air application was crashing on start. To fix that I uninstalled that AIR application and AIR runtime, and now trying reinstall runtime but when I click on "Adobe Air Installer.app", it show following error. I also tried

  • 'Optimizer Hint' property bug (or feature) {Urgent}

    Dear Oracle Developer Community & Support Team! I've defined 'Optimizer Hint' block property at design time but it hasn't affected the resulting query. Then I've defined it with the Set_Block_Property procedure and it worked then. Could you tell me w