How to display the plan will contact a specific sql in pl/sql?

Hello Experts,

Maybe it's a very simple question, but I really wonder, how explain the plan to the following sql.

DECLARE

The p_value number;

BEGIN

I'm IN (SELECT * FROM emp WHERE empno = p_value)

LOOP

-do something

END LOOP;

END;

Thank you

Activate the trace session

Run your PLSQL

End of the session trace.

Your trace file is now ready.

Use utility TKPROF to see the trace.

Now, you will see the SQL used in PLSQL program used execution plan.

Read using Application tracing tools

Tags: Database

Similar Questions

  • How to display the "Add a contact" dialog box with the non-empty fields?

    On the BlackBerry, I want to display a dialog box 'Add a contact' with some fields filled.

    I assumed would work the following code:

    Contact BlackBerryContact = mContactList.createContact ((BlackBerryContact));

    populateSomeFields (contact);

    AddressBookArguments args = new AddressBookArguments (AddressBookArguments.ARG_NEW, contact);

    Invoke.invokeApplication (Invoke.APP_TYPE_ADDRESSBOOK, args);

    but no way. If I invoke with ARG_NEW a completely EMPTY fields are displayed.

    If I invoke with ARG_COMPOSE an IllegalArgumentException is thrown. Is it possible that I can show 'Add a contact' with some informed fields?

    just as an idea: maybe you have to make contact before the opening of the new message notice?
    otherwise it is not possible, you will need to write your own GUI to change the fields in contacts.

  • How to display the path of a contact with a program?

    How to display the path of a contact with a program?

    Hey,.

    Follow the mentioned below as follows:

    1. Go to Contacts > Contacts.
    2. Highlight the contact to which you want to see the way through the program.
    3. Click on the newspaper story > program activity.

    Thank you...

  • How to display the date on the taskbar (toolbar)

    Please tell me how to display the date at the bottom of the screen.  Currently, everything is displayed is the time.

    Hello

    You said in addition to the clock so I initially think not that you need it however, others said it would be a good idea to show this method of date display. Also if you move the taskbar vertically the date is also displayed.

    Always see the day, date and time in the taskbar
    http://freewindowsvistatutorials.com/meetWindowsVista/taskbarAndSystemTray/showDayDateAndTimeInTheClock.php

    You can lift the taskbar is higher - make a right click on it - uncheck box lock the taskbar then take the upper part of it and lift it higher and the date will be under the clock.

    --------------------------------------------------------------------

    I found a utility that does on one level of the bar tasks if it does not have to be raised-
    T - clock - free - 3 references to it:

    Windows7 like clock on the system in Vista & XP tray
    http://www.tothepc.com/archives/Windows7-like-clock-on-system-tray-in-Vista-XP/

    TClock: See the Date Look like Windows 7 & time in the system tray in Windows XP and Vista
    http://www.askvg.com/tclock-show-Windows-7-look-like-date-time-in-system-tray-in-Windows-XP-and-Vista/

    T - Clock of the Stoic Joker
    http://www.greggdeselms.com/tclock.html

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to display the language bar and bring back the language switch to the taskbar?

    How to display the language bar and bring back the language switch to the taskbar?

    How to display the language bar and bring back the language switch to the taskbar?

    Hello

    According to the description, I understand that you do not want to display the language bar.

    I would like to know some information.

    1. You hide the language bar, or missing?

    I suggest you try the steps mentioned below and check.

    1. Go to the control panel.

    2. Click on clock, language and region.

    3. Region and language.

    4. Keyboard and language tab.

    5. Change keyboards button.

    6. Language bar tab.

    Then simply change the parameters of language bar hidden in the "embedded in the taskbar" and check.

    Here, you can also check the option in the check box for display icons of language in addition to the taskbar bar.

     

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

  • How to display the hidden files and folders even if I've already enabled "Show hidden files, folders and drives" to "Advanced settings"?

    How to display the hidden files and folders even if I've already enabled "Show hidden files, folders and drives" to "Advanced settings"?

    After I enabled "Show hidden files, folders and drives" in 'Advanced settings', I can't yet see in the folder but I know there is a file in this program of WinRAR folder form as pictured below where I opened the case both at the same time.

    Hope you can help in this case...

    It would be possible that the file is marked as a system folder (which is just a check box in properties such as the hidden check box). So in your folder options, uncheck the "Hide protected operating system files" and see if it will be visible.

    Or another thing to try: remonter back a level, hold down SHIFT while you right-click the complete file and choose "Open command window here", then type DIR to see if the file is listed.

  • How to display the time of growth of the autoextended oracle files?

    Hello

    How to display the time of growth of the autoextended oracle files?

    Hello

    1. do you have re - seen view data dictionary in the oracle documentation?

    DBA_DATA_FILES

    dba_free_space

    dba_Tablespaces

    -Regarding (updated)

    DBA_HIST_SEG_STAT

    DBA_HIST_SNAPSHOT

    DBA_TABLESPACE_USAGE_METRICS

    DBA_HIST_TBSPC_SPACE_USAGE

    2. If not, then re - discovers once and understand the use of columns and build the query.

    3. If Yes, then why you have not tried to build queries

    4. again, if you're lazy, search in google or forums. ton of translates queries

    5. What are the disadvantage of step 4 - you will not get to learn something (0% gain of knowledge).  If you really want to learn, then try to learn to build query, and try to understand the views of data dictionary

    6. When you spend above task at the end of the task you will get satistided with two things

    --> Understand how to use the Oracle docs for help and where to look in the future

    --> Your skills / knowledge gain - trust me it will make you another step to learn new things.

    7. If you don't know SQL, learn the basics takes hardly 2 to 3 hours and then you can build query.

    It may be useful

    -Pavan Kumar N

  • How to display the pdf file in the apex region

    How to view pdf file in an apex html region. pdf files are stored in the column of type blob of a table. Please note this is not a static file. I am able to create a link to download and view the pdf in a new window. But it's not my priority. I need to see the full pdf file in the html area.

    I looked around the forums but couldn't find a good answer. All suggestions will be useful. Thank you

    Hi Alexandre-Oracle,

    Alexander-Oracle wrote:

    How to display the pdf file in an html apex region. PDF files are stored in the column of type blob of a table. Please note this is not a static file. I am able to create a link to download and view the pdf in a new window. But it's not my priority. I need to see the full pdf file in the html area.

    I looked around the forums but couldn't find a good answer. All suggestions will be useful. Thank you

    See the following thread I explained how to display PDF in the region HTML using the embed tag:

    Re: Display pdf

    I hope this helps!

    Kind regards

    Kiran

  • Hi, I am the photographer and Illustrator plan and I want to cancel these plans and get the student a. How to cancel the plans that I have to get this one?

    I have a Macbook and I got the photographer and Illustrator plan, but I want terminate to get the plan of the student.
    How to cancel the plans?

    Please contact our support for assistance staff

    FAQ: How to contact Adobe for support?

  • How to display the list of temporary and free sites that we use?

    Adobe Web Host - Free Sites.

    How to display the list of temporary and free sites that we use?

    When you're connected creative cloud, we used to be able to view the temporary and lots of 5 free sites that we use hoe.

    Could not find a list on my creative cloud account or when the link to 'Manage' in the Muse.

    No mention of the free sites in the FAQ. Is there a change in policy? Are always included in the subscription of the free sites?

    - Adobe Muse help | Adobe Muse / Common Questions .

    When I publish in Adobe Muse CC, must I pay for hosting with Adobe?

    Adobe Muse CC allows you to publish your Web site temporary on the platform Adobe of accommodation free of charge for a trial period of 30 days. This gives you the ability to send a direct URL to your client for review. All sites with Adobe trial mode will include the field "businesscatalyst.com" in it. If you decide to take the live site by paying for monthly hosting, you can transfer your domain name and delete the subdomain businesscatalyst.com. Or you can export the HTML and host the final site with a host of your choice.

    //

    Yes, don't know why they took out of the cloud interface.

    But if you go to http://www.businesscatalyst.com/partnerportal and you connect with your ID cloud you will have access to all your cloud sites and many other features.

  • How to display the list on the page all?

    I have a 1 page. In this 1 page, I have a list box. This list to contain three region list.
    each list is a page (page 2, page 3, page 4). When click on any list redirect to the corresponding page, but the region from the list on page 1 does not appear when I redirect page 2, 3 or 4.

    How to display the page list all the 2,3,4?

    SKUD.

    Hello

    create the list in page zero and give the State, saying that all pages will be displayed..,.

    or

    GoTo
    Home > Application Builder > Application xxx > shared components > list of commitments

    Here you can set new pages where you need to see your list

    Kind regards
    Little Foot

  • How to display the user name in report editor RTF BI?

    Please advice how to display the user name in report editor RTF BI?
    Maybe this can be done via a hidden parameter of the report, BEEP, which by default will be implemented with the macro as {$username$} (or smth like)?
    Thanks in advance!

    Yes, or create a hidden report BEEP setting with the name you want and the default ": xdo_user_name" (without ""). And on the report that you call the parameter with the username!

  • How to display the names of header fields in the next page in report6i

    How to display the names of header fields repeated in the next page of report6i urgent please...


    When I'm runing report in 1st page that showing only the header in page 2 information header information does not display only records appear. So I want to display the header in 2nd page also information.

    You can help.

    Hello

    Go for the model of report layout and select these elements/objects that do not display on the next page and pressing the F4 key to open the palette of the property and set the property Print object on to All the Pages , then it will appear on all pages.

    -Clément

  • How to display the rownum in oracle forms?

    Hai all,

    How to display the rownum in oracle forms?

    Thank you
    RCS
    ----------------

    I would add rowum with the current form of group_mstr:

    former columns:

    group_id
    GroupName

    new columns will be:

    identifier of the line
    group_id
    GroupName


    I created as follows:
    in forms
    text tool > row id
    text element > EXT_ITEM20

    error text element: no white color, it's a different color
    --------------

    create > Trigger > a time new form instance > I gave like this:

    DECLARE
    CURSOR crrow_id IS
    SELECT count (*) + 1 group_mstr;
    BEGIN
    OPEN crrow_id.
    Search FOR crrow_id IN: TEXT_ITEM20;
    CLOSE Crrow_id;
    END;
    ------------
    error: identifier group_mst must be declard
    ============

    I don't know also not quite what you want to display in your form. Do you want to just number the records displayed, from 1 to n?

    If so, create a text whose property 'data base element' element to the value 'no', "calculation method" formula and the formula itself: SYSTEM. " TRIGGER_RECORD, then, in each case, the registration number should be indicated.

  • How to display the width of the page or the big screen in firefox 11 automatically?

    How to display the width of the page or the big screen in firefox 11 automatically? I know how to Ctrl +, ctrl - and ctrl 0, but is there a way to define 11 firefox to automatically set the page viewing by default "page width" or full screen (F11 not)?
    Help, please. Thank you.

    You can use an extension to set a page zoom and the size of the default font on the web pages.

Maybe you are looking for