pre-requete and key-run-query

Hi all

one who fires first

KEY-RUN-QUERY FIRES BEFORE PRE-REQUETE or vice versa?

Thank you

newbi_egy wrote:

What do you mean with "obvious developer.

1. I hear of course developer KEY-EXEQRY integrated call/write EXECUTE_QUERY trigger to run the query.

2. This is in all versions, same behavior except the shortcut key to run the query in 6i F8 in 11 g Ctrl + F11

3. it's Ok, it should be that way. This is correct behavior.

You can test this way

1 al ' KEY-EXEQRY

message('KEY-EXEQRY');

message('KEY-EXEQRY');

EXECUTE_QUERY;

2. in the previous QUERY

message('PRE-QUERY');

message('PRE-QUERY');

3. press F8 or Ctrl + F11 to run the query based on you form version

Result:

First Messenger KEY-EXEQRY

Second QUERY before displaying the messages

Tags: Oracle Development

Similar Questions

  • Characters not visible (caused by hitting the bar space or TAB in PL/SQL developer tool) causing slow running query? and database with low performance?

    Hi all

    I need your help to get this issue resolved its urgent and I'm not able to get to the conclusion. Here is my scenario, I'm getting slow query runs because of some non-visible characters that are copied with the application of the PL/SQL developer tool. Please find below attached screenshot: Oracle_Issue

    Oracle_Isssue.png

    Note: This non-visible characters are caused when we write the query then us hit the SPACEBAR or press TAB PL/SQL developer tool

    I use the developer tool PL/SQL to write or test the query. Now I take this request copy paste in my application of the company (who takes this query connects to Oracle or any source of data base, catch data and produce PDF reports for customers).

    Now, my client is the Oracle user when I write and you run this query by the PL/SQL Developer, it works fine, but when I paste in my Inbox feature request (reporting system) and run it, it runs slower and jams to the customer database. Now after a little research I found that when I copy the query directly from PL/SQL developer at my request, he copy some characters not visible (introduced when we press SPACE or TAB in PL/SQL developer tool when writing query) with the request, then I copy this query again to my box of the application Notepad and delete these non-visible characters. Now, after removing the non-visible characters again once I copy backup question in my application and run the query, it works normally. Please find below attached screenshot: Oracle_Issue 2

    Oracle_Isssue_2.png

    So I think that the cause of slow performance is due to some INVISIBLE CHARACTERS present in the query.

    My application uses SQL server 2008-2012 at the backend to store data from different sources.

    Character set used: SQL_Latin1_General_CP1_CI_AS


    To write and test queries: PL/SQL developer tool

    My Client use Oracle 11 g

    Character set used: Normal character: NLS_CHARACTER: AL16UTF16

    National Characeter: NLS_NCHAR_CHARACTER: WE8WIN1521

    I just wanted to know the blocking process to the top of the database and the characters not visible how affecting slow running query of query database.

    Please let me know if I'm missing something or you need more information on this issue.

    Thanks in advance,

    HP

    Simple answer. No.

    Spaces and line breaks do not change the execution plan created. Does not plan to run slower or faster.

  • / boot/error bcd - W7 installed since ISO - no pre-installed product key valid when used

    Hello

    I have a laptop HP dv6-6138 NR, 64 bit, Windows 7 Home Premium pre-installed OA edition. Last week, my computer crashed after installing Flash HD and showed the mistake \boot\bcd 0xc0000225 error.

    I couldn't do a system recovery, because there was no image that is spent on the computer that I went for a clean install with the repair disc I had created. Measures desperate - and downloaded an ISO of W7 to the MSFT forum file and went used imgburner to burn it to a DVD.

    Then, to restart my laptop with this DVD in the installed Windows CD with my existing windows file that is stored in a folder called "windows.old". Unfortunately, I wasn't able to use the same product key as it was at the bottom of the laptoop. So, I jumped by giving the product key (I'll be ok for 30 days, I guess).

    Now, I ordered a set of HP recovery disk. What should I do now to recover my factory settings on? Should I format the drive and it run the new recovery disc, I will get?

    Please advise...

    Hello

    You are welcome

    Yes, that would explain why the key does not work - you can use it on the version of Windows that came with your laptop (ie you can upgrade or downgrade the version).

    HP recovery discs should work fine and activation will be automatic.

    A downloadable ISO for Windows 7 Home Premium 64 - bit is on the following link.

    http://MSFT.digitalrivercontent.NET/win/X17-59007.ISO

    If using the image above, enter your activation key when prompted - you will always very probably use the 'method of phone' to complete activation.

    Best regards

    DP - K

  • Problem running query.

    Hello

    I have the below slow running query.

    Please suggest / give your input on the reduction of the time for this request

    ENV: Oracle 10.2.0.4.0


    SELECT *.
    OF GMS_NOTE g
    WHERE g.SEQ_ID =
    (SELECT MAX (B.SEQ_ID)
    OF GMS_NOTE gn
    WHERE the gn. HIST_ID = g.HIST_ID)
    AND SUPERIOR (SRC_ID) =: SYS_B_0
    AND SUPERIOR (SAL_CODE) =: SYS_B_1
    AND TRANS_DATE > = TO_DATE (: SYS_B_2, SYS_B_3);




    PLAN_TABLE_OUTPUT
    -------------------------------------------------------------------------------------------------------------------------
    Hash value of plan: 4245552679

    ---------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ---------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 1. 402 | 57739 (1) | 00:11:33 |
    |* 1 | FILTER |
    |* 2 | TABLE ACCESS FULL | GMS_NOTE | 1. 402 | 57736 (1) | 00:11:33 |
    | 3. GLOBAL TRI | 1. 10.
    | 4. FIRST LINE | 3. 30. 3 (0) | 00:00:01 |
    |* 5 | INDEX RANGE SCAN (MIN/MAX) | GMS_NOTE_PK | 3. 30. 3 (0) | 00:00:01 |
    ---------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 - filter("O".") SEQ_ID "IS (SELECT MAX ('B'.". SEQ_ID") OF
    "GMS_NOTE" 'B' WHERE 'B '. "HIST_ID"=:B1))
    2 filter (UPPER ("SRC_ID") =: SYS_B_0 AND UPPER ("SAL_CODE") =: SYS_B_1)
    AND 'TRANS_DATE' > = TO_DATE (: SYS_B_2,: SYS_B_3))
    5 - access("B".") HIST_ID "(=:B1)"

    21 selected lines.



    Index / row count information for the GMS_NOTE (not partitioned table):

    His stats are up to date.

    Select count (*) in the GMS_NOTE;


    COUNT (*)
    ----------
    4858242



    CREATE A UNIQUE GMS_NOTE_PK ON GMS_NOTE INDEX
    (HIST_ID, SEQ_ID);


    CREATE INDEX IDX1_BIDFEEDORDER ON GMS_NOTE
    (HIST_ID, UPPER ("SRC_ID"), UPPER ("SAL_CODE"), TRANS_DATE);


    ALTER TABLE GMS_NOTE ADD)
    CONSTRAINT GMS_NOTE_PK
    KEY ELEMENTARY SCHOOL
    (HIST_ID, SEQ_ID)
    WITH THE HELP OF INDEX GMS_NOTE_PK
    ENABLE VALIDATE);

    Thanks in advance.

    user13517642 wrote:
    Thanks Nikolay.

    I created an index on the trans_date column, and it is originally a range of indexes on the table instead of a table scan full scan.

    I'm not Nikolai, but you're welcome. ;)

    Now turn this trans_date the composite index index, I suggested, for an even better improvement.

  • Error running query of queries

    Hello

    I am in the process of updating my site in CF5 to CF9 and I get a "query of query error" on the following code each time I have add the first point to my shopping cart. If I add a second element, the error disappears. Here are two pieces of keys to the code where I pull the item from the database information and then use the query requests to merge the query with the amount of shopping cart.

    <!-get-> Product Details

    < CFQUERY NAME='GetDetails'

    DATASOURCE = ' #request.ds # '

    Username = ' #request.dsuser # '

    PASSWORD = ' #request.dspass # ' >

    SELECT
    ItemNo,

    Agenda,

    Grades,

    Price,

    ImageSmall

    DE Products
    ItemNo IN (#QuotedValueList(GetCart.ItemNo) #)
    < / CFQUERY >

    <!-add the column "OrderQty"->

    < CFQUERY NAME="GetList" DBTYPE="query">

    SELECT
    GetDetails.ItemNo YOU ItemNo,

    GetDetails.Item point, AS

    GetDetails.Grades AS Grades,

    AS price, GetDetails.Price

    GetDetails.ImageSmall AS ImageSmall,

    GetCart.Quantity AS OrderQty

    DE GetDetails, GetCart
    GetDetails.ItemNo = GetCart.ItemNo
    < / CFQUERY >

    This is the error I get. The line number refers to the Q of Q above.

    Error running query of queries.

    Comparison = runtime exception.
    Comparison of Type incompatible Exception: on the left side and right side of the comparison operator "=" have incompatible types.
    Type of expression left side = "VARCHAR".
    Expression type side right hand = "DATE".

    I tried a lot of things affect a 'string' type to the right, but nothing seems to work.

    I would be very happy any help that I can get as I've spent countless hours trying to figure this.

    Thank you
    Steve

    Looks like the GetCart query is generated with functions to query coldfusion as opposed to a database query.  It also seems that the QueryNew function has the names of the fields, but not the types of data.  This means some trys to ColdFusion for the type of basic data on the first rows of data.

    Or it could be something else.

  • Installation and first run of the FF, I get a box that obviously requires a response, but it contains no words, and does not occur when you click it.

    Installation and first run of the FF, I get a collection box that is displayed for about 5 seconds after the program loads and displays the first screen. It obviously requires a response, but it contains no words. The box doesn't cause any Word show either. the screen takes over and no other button cannot be clicked: I have a hardware failure on FF.

    Empty the gray bar, box, box white, question mark?

    This irritating box was related to an add-on for AOL. In order to remove the extension of the problem, you will probably need to start Firefox in Safe Mode so that it does not work.

    You need to close Firefox anyway, you can, for example:

    • ALT + F4
    • Right click of its mosaic on the taskbar > close all windows
    • (Ctrl + Shift + Esc) Task Manager

    To start Firefox in Safe Mode, hold down the SHIFT key while double-clicking the shortcut.

    A small dialog box should appear. Click on 'Start mode safe' (not update).

    Then you can go to the Add-ons page using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then on the right, locate AOL.

    A little luck?

  • My toshiba laptop is not getting connected wireless if I have SID and key no.

    I have the model Toshiba Satellite laptop and I am not able to connect to a wireless home line. If I have SID and no. Key, my laptop is not be connected. I used it earlier.

    You will be please to restore the settings the parameter as he cites the 87122 defect.
    Thanking you,
    Manguin
    / * original title: my computer is toshiba laptop connect wireless if I have SID and key no. I * /.

    Have you applied the hotfix in this article?

  • Microsoft Fixit error "an error occurred during the download of one or more components and cannot run the Troubleshooter"

    Original title: cannot run FixIt.

    With the help of Vista Home Premium, sp2, 32-bit on Toshiba Satalite A135

    I tried for days to find a solution for the reason why I can't run software 'MR FIXIT' or "MICROSOFT FIXIT" auto diagnostic I downloaded several versions of the software and saved, but when I try to launch it I stopped.  The following message appears: "toubleshooting cannot continue b/c an error has occurred."  An error occurred during the download of one or more components and cannot run the troubleshooter. »
    These versions I've tried lately:
    microsoftfixit. Program.installuninstall.RNP.84258196752136210.7.1.Run
    microsoftfixit. Program.installuninstall.Run
    microsoftfixit. WinSecurity.fisc.8425861308153696.4.1.Run
    microsoftfixit. Wu.FISC.8425861308153696.4.2.run
    852581157233326805.5.1.run
    I don't know if the problem is related, but I was also impossible to install the download: security for microsoft .net 1.1 SP1 framework update... (kb2656353).  I tried to install this download since January of 2012.  The reason why I tried to use the auto diagnostic software should fix my problem of installation of the security update.  I remember somewhere along the way, getting the error message that some files were corrupt.  Your help would be greatly appreciated.

    Hello

    Are able to run fix it?

    You can also post your query in Microsoft solve this forum. Please visit the link below to find a community that will support what ask you:

    http://social.Microsoft.com/forums/is/fixitcenter/threads

  • installation of windows xp/vista/7 on USB and then running windows FULL of her not ONLY START from USB

    is it possible to install windows xp/vista/7 on a USB key and then run the FULL version of windows of him anywhere I want? Please, I beg you!

    Friday, January 28, 2011 18:56:58 + 0000, tupac shakur says:

    is it possible to install windows xp/vista/7 on a USB key and then run the FULL version of windows of him anywhere I want? Please, I beg you!

    # With all these versions of Windows, the installation is
    customized for specific hardware. This will not work on different
    material.

    Ken Blake, Microsoft MVP

  • Windows 8 - Refresh PC pre-installed Windows key recovery or installation DVD disc

    Windows 8 - Refresh PC pre-installed Windows key recovery or installation DVD disc

    The problem is that the number of keys for Windows 8 is required for this operation, and I can't get it. I got Windows8 pre-installed when I bought the laptop, so I don't have the installation DVD, I did not collect the number of keys in any documentation or found on the laptop.

    What can I do to make sure that if I can restore Windows 8 and all my data on the laptop?

    Thanks for your help

    To put it bluntly, YOU n 'T NEED a KEY! When you reinstall Windows 8, it is automatically activated from your key incorporated in the Bios. There is no need for to go you into the Bios to get the key. With Windows 8, it is how it is done. Hope this helps and if you need another post to help and we will be happy to help you.

    The above opinion is mine and mine nothing and does not necessarily reflect that of Microsoft, it's employees, or any other Member of this forum

    "When we try to take anything by itself, we find it hitched to everything else in the universe."-John Muir

  • "Error running query: the real member does not exist in the application.

    Hi all

    I have a HFM EN users need to run, but somehow they started getting this error "error running query: real member does not exist in the application". I traced their levels of access to mine, and I am able to run the same report without any problem but the user still getting the same error. what may be the possible cause. Please help me so that I can ensure the debugging.

    Thank you

    Zitouni

    I was able to solve this problem by checking the user of security principals class was trying to run the report for. The user did not have acesss on the class of the said security and change all, solve the problem.

    Thanks, Sattu

  • Cannot run query because of RepositoryException

    Hello
    I'm new to this product.
    I am customizing the application of CRS. I want to create a point in ProductCatalog descriptor and must insert some properties. Here is my custom .xml

    <? XML version = "1.0" encoding = "UTF-8"? >
    < gsa-model >
    < name point-descriptor = "check_inv" >
    < table name = "My_DCS_SKU" type = "primary" id-column-name = "sku_id" >
    < property name = data type "inventory_status" = "string".
    column-name = display-name-resource "INVENTORY_STATUS" = "inventory_status" default = "InStock" / >
    < property name = data type "sku_id" = "string".
    column-name = display-name-resource "sku_id" = "sku_id" / >
    < /table >
    < / descriptor point >
    < / gsa-model >

    With this XML, I am able to see my newly added and point-descriptor properties in dyn/admin(in ProductCatalog). Even if I am able to check the values of these properties in dyn/admin.

    But in jsp when I get the inventory_status, I get an exception:
    Cannot run query because of the RepositoryException: atg.repository.RepositoryException: no property named 'sku40145' could be found in the descriptor of the item "check_inv".


    I added the following code in jsp.



    < name dsp:droplet = "/ atg/dynamo/drop/RQLQueryForEach" >
    < name dsp:param = "queryRQL" value = "sku_id = sku40145" / >

    < name dsp:param = "repository".
    value = "/ atg/commerce/catalog/ProductCatalog" / >

    < name dsp:param = "itemDescriptor" value = "check_inv" / >

    < name dsp:oparam = "output" >

    < p > < dsp:valueof param = "element.inventory_status" / >
    < / dsp:oparam >
    < / dsp:droplet >

    Please suggest me how to get rid of this problem?
    I use ATG10.1.1


    Thank you
    Phanie

    Published by: 995229 on March 21, 2013 02:21

    try to use a parameter for the value of your sku_id-

    and use the param below-

  • When you click on the Cancel button, avoid running query

    Hello

    I'm going to the jsff a page to another at the click of a button

    In the second page I go back to the 1st page when the Cancel button is clicked
    But when clicked on this button cancel my request get rerun and takes a long time to come back on the 1st page
    This is a read only vo interview... How can I avoid running query on a button click Cancel

    Thank you

    Real question is: "why is your query run when you press the Cancel button?
    If your application is already running on the first page, this should not happen unless you:
    -to perform an operation on the Cancel button that runs the query
    -changed "Refresh" of your iterator property
    -perform rollback

    Dario

  • How to remove a discoverer report that has a status of running query

    Hello

    How to remove a discoverer report that has a status of running query

    Thank you

    Hi 925907,

    I think you would work with your DBA to kill the session associated with the workbook running.

    A query like this will provide your DBA with all the necessary information, it must:

    Select
    vs.*
    Of
    v$ session vs
    where
    vs. Program like 'dis51ws@% ';

    After the session was killed, it is a deletion of standard workbook (select file > open workbooks, and then right click on the name of the workbook, and then select delete).

    Patrick

  • How export (unload) result of the query without running query on sql developer

    Hello

    I want to know how export (unload) result of the query without running query on sql developer.

    I know this way.
    1. execution of query
    2. click on "Download" on the results tab
    http://i.stack.imgur.com/CQ4Qb.jpg


    Is he available unload a query result before the race?

    No, but you can do this ask the developer SQL change however, for other users can vote and add weight to the possible future implementation.

    Kind regards
    K.

Maybe you are looking for

  • Impossible to disable the blocker for Safari

    It's not on the usual pop up Blocker. I use safari 8 and I have already disabled preferences - security - block popup windows. However, when, on a site with pop-up windows, I accidentally checked the box "don't show several pop-up from this site". Th

  • Need help to solve the problem!

    Hello I have Samsung SyncMaster P2250 Mointor, when any video works on my monitor, it is automatically going to turn off of the screen. then I never return to the screen but, always my Cpu is running. I left only one option that restart the computer.

  • IdeaPad Y560 overheating problems

    My Ideapad I bought just under a year ago has recently been overheating, especially when I use my grafics card. I bought a cooling package and it seemed to work for a month or two, but now my computer seems to be the "freeze". I saw that other people

  • Need help with the breakdown of the system

    I have a Toshiba laptop with Windows Vista, and my animal jumped on the keys.  He locks and there wouldn't let me connect you to Wiindows.  I did a launch startup repair, and he said that he could not repair automatically.  I then tried a restore of

  • In Windows Mail, I can't empty my deleted items folder. I click Yes, nothing happens.

    In Windows Mail, I can't empty my deleted items folder. I click Yes, nothing happens.