Where is the focus after executing a statement in worksheet ? (804)

After executing a statement in the sqlworksheet by hitting the 'execute statement' button, 'execute script' button or ctrl-enter the focus is no longer in the worksheet, forcing us to point/click the mouse to the edit area each time.
Using pre-release 2.
Can this be fixed ?
regards,
Ronald.

This loss of focus had been an issue but we did fix this in v804. Did you do a clean install? If so, what os are you installed on? I just double checked on my Windows XP box and my focus was fine.
-- Sharon

Similar Messages

  • Why there is implicit commit before and after executing DDL Statements

    Hi Guys,
    Please let me know why there is implicit commit before and after executing DDL Statements ?
    Regards,
    sushmita

    Helyos wrote:
    This is because Oracle has design it like this.Come on Helyos, that's a bit of a weak answer. :)
    The reason is that it makes no sense to update the structure of the database whilst there is outstanding data updates that have not been committed.
    Imagine having a column that is VARCHAR2(50) that currently only has data that is up to 20 characters in size.
    Someone (person A) decides that it would make sense to alter the table and reduce the size of the column to varchar2(20) instead.
    Before they do that, someone else (person B) has inserted data that is 30 characters in size, but not yet committed it.
    As far as person B is concerned that insert statement has been successful as they received no error, and they are continuing on with their process until they reach a suitable point to commit.
    Person A then attempts to alter the database to make it varchar2(20).
    If the database allowed that to happen then the column would be varchar2(20) and the uncommitted data would no longer fit, even though the insert was successful. When is Person B going to find out about this? It would be wrong to tell them when they try and commit, because all their transactions were successful, so why should a commit fail.
    In this case, because it's two different people, then the database will recognise there is uncommitted transactions on that table and not let person B alter it.
    If it was just one person doing both things in the same session, then the data would be automatically committed, the alter statement executed and the person informed that they can't alter the database because there is (now) data exceeding the size they want to set it to.
    It makes perfect sense to have the database in a data consistent state before any alterations are made to it, hence why a commit is issued beforehand.
    Here's something I wrote the other day on the subject...
    DDL's issue a commit before carrying out the actual action
    As long as the DDL is syntactically ok (i.e. the parser is happy with it) then the commit is issued, even if the actual DDL cannot be executed for another reason.
    Example...
    We have a table with some data in it...
    SQL> create table xtest as select rownum rn from dual;
    Table created.
    SQL> select * from xtest;
            RN
             1We then delete the data but don't commit (demonstrated by the fact we can roll it back)
    SQL> delete from xtest;
    1 row deleted.
    SQL> select * from xtest;
    no rows selected
    SQL> rollback;
    Rollback complete.
    SQL> select * from xtest;
            RN
             1
    SQL> delete from xtest;
    1 row deleted.
    SQL> select * from xtest;
    no rows selectedSo now our data is deleted, but not committed, what if we issue a DDL that is syntactically incorrect...
    SQL> alter tab xtest blah;
    alter tab xtest blah
    ERROR at line 1:
    ORA-00940: invalid ALTER command
    SQL> rollback;
    Rollback complete.
    SQL> select * from xtest;
            RN
             1... the data can still be rolled back. This is because the parser was not happy with the syntax of the DDL statement.
    So let's delete the data again, without committing it, and issue a DDL that is syntactically correct, but cannot execute for another reason (i.e. the database object it refers to doesn't exist)...
    SQL> delete from xtest;
    1 row deleted.
    SQL> select * from xtest;
    no rows selected
    SQL> truncate table bob;
    truncate table bob
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> rollback;
    Rollback complete.
    SQL> select * from xtest;
    no rows selectedSo, there we have it. Just because the statement was syntactically correct, the deletion of the data was committed, even though the DDL couldn't be performed.
    This makes sense really, because if we are planning on altering the definition of the database where the data is stored, it can only really take place if the database is in a state where the data is where it should be rather than being in limbo. For example, imagine the confusion if you updated some data on a column and then altered that columns datatype to be a different size e.g. reducing a varchar2 column from 50 character down to 20 characters. If you had data that you'd just updated to larger than 20 characters whereas previously there wasn't, then the alter table command would not know about it, would alter the column size and then the data wouldn't be valid to fit whereas the update statement at the time didn't fail.
    Example...
    We have a table that only allows 20 characters in a column. If we try and insert more into that column we get an error for our insert statement as expected...
    SQL> create table xtest (x varchar2(20));
    Table created.
    SQL> insert into xtest values ('012345678901234567890123456789');
    insert into xtest values ('012345678901234567890123456789')
    ERROR at line 1:
    ORA-12899: value too large for column "SCOTT"."XTEST"."X" (actual: 30, maximum: 20)Now if our table allowed more characters our insert statement is successful. As far as our "application" goes we believe, nay, we have been told by the database, we have successfully inserted our data...
    SQL> alter table xtest modify (x varchar2(50));
    Table altered.
    SQL> insert into xtest values ('012345678901234567890123456789');
    1 row created.Now if we tried to alter our database column back to 20 characters and it didn't automatically commit the data beforehand then it would be happy to alter the column, but then when the data was committed it wouldn't fit. However the database has already told us that the data was inserted, so it can't go back on that now.
    Instead we can see that the data is committed first because the alter command returns an error telling us that the data in the table is too big, and also we cannot rollback the insert after the attempted alter statement...
    SQL> alter table xtest modify (x varchar2(20));
    alter table xtest modify (x varchar2(20))
    ERROR at line 1:
    ORA-01441: cannot decrease column length because some value is too big
    SQL> rollback;
    Rollback complete.
    SQL> select * from xtest;
    X
    012345678901234567890123456789
    SQL>Obviously, because a commit statement is for the existing session, if we had tried to alter the table column from another session we would have got
    SQL> alter table xtest modify (x varchar2(20));
    alter table xtest modify (x varchar2(20))
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified
    SQL>... which is basically saying that we can't alter the table because someone else is using it and they haven't committed their data yet.
    Once the other session has committed the data we get the expected error...
    ORA-01441: cannot decrease column length because some value is too bigHope that explains it

  • How to export the result from executing sql statement to excel file ?

    HI all,
    Great with Oracle SQL Developer, but I have have a trouble as follwing :
    I want to export the result from executing sql statement to excel file . I do easily like that in TOAD ,
    anyone can help me to do that ? Thanks so much
    Sigmasvn

    Hello Sue,
    I just tried to export to excel with the esdev extension and got java.lang.NumberFormatException. I found the workaround at Re: Windows Multi-language env, - how do I set English for application lang?
    open the file sqldeveloper\jdev\bin\sqldeveloper.conf and add the following two lines:
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=USyet now my date formats in excel are 'american-style' instead of german. For example 01-DEC-01 so excel does not recognize it as date and therefore I can not simply change the format.
    When export to excel will be native to 1.1 perhaps someone can have a look at this 'feature'
    Regards
    Marcus

  • Where on the ipad mini would it state how many gb it has?

    Where on the ipad mini would it state how many gb it has?

    Welcome to Apple Support Communities
    To check how much space the device has got, open Settings > General > About

  • Where is the focus??

    I have several applets on a page.
    Under 1.4.0 I could see where the focus was & control it.
    I am now using 1.4.1 and the focus is nowhere to be seen - I have put focus listeners in all of the components & the focus is gone from all of these by the time the applets finish loading.
    I know there are a lot of posts about focus & 1.4.1, but none of them have helped.
    I also know that there are changes with focus management in 1.4.1, but why would this mean that nothing has focus? Surely something must have the focus?
    Thanks for any help.

    Thanks for your input, however Java definitely lets you apply focus to yor applet.
    I finally solved this, by finding out exactly where the focus was ending up - and it was ending up in one of the components in the main applet. This component is not even visible, and it's certainly not editable (it was the parent of the applet), so why the focus was going there, I don't know. So much for 1.4.1 fixing all the focus issues, though I must say the new API calls came in use in figuring this out.
    Here is some duke $$ because you made an effort.

  • Where is the cursor after calling setFocus on AS created TextInput?

    I am having trouble getting a TextInput field to replace the current selection when the user starts typing without having to first click the field. I have seen that many people face this problem when initially loading the movie, but this is not my case. In my case, Flash already has focus, I have created a TextInput field via AS and made it invisible. At a given point a user double clicks a label and I display ( textInput.visible = true) the the field and setFocus to it. The text is correctly highlighted and the focus border shows but typing produces no effect until I click inside text field and get a cursor there. Is there something else I need to do aside from setFocus? I have also tried setting the selection manually to zero width, and this causes the field to have the focus border but no cursor whatsoever, until the field is actually clicked.
    Ruy

    referr: http://forums.adobe.com/thread/452365?tstart=30
    <script language="JavaScript" type="text/javascript">
    function setFocusToTextInput()
        document.getElementById('${application}').focus();
    <!--
    // Globals
    // Major version of Flash required
    var requiredMajorVersion = ${version_major};
    // Minor version of Flash required
    var requiredMinorVersion = ${version_minor};
    // Minor version of Flash required
    var requiredRevision = ${version_revision};
    // -->
    </script>
    on creationcomplete event call
    init(event);
    public function init(event:Event):void
        ExternalInterface.call('setFocusToTextInput');
        this.username.setFocus();

  • Where is the radio after the updation of Amber in ...

    I can't find radio in my lumia 520 after the updation of Amber.

    laijeesh7 wrote:
    I can't find radio in my lumia 520 after the updation of Amber.
    If you can't see it where farby suggested then you probably need to update some system apps on your phone.
    Go to the marketplace and look for an app called "Lumia System Updater". That will give you the opportunity to update all of the system apps that are required to take full advantage of Amber/GDR2. Only then will you see things like the FM radio etc.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Able to retrieve the row in toad but unable to fetch the same after executing the VO.........

    Hi all...
    I have a issue where i am able to retrieve the row in TOAD
    but when I try to do the same by creating VO and passing parameters using setWhereClauseParams()
    I am able to execute the VO but the rowcount is 0.....
    any sort of help is appreciated....
    the query in my VO is
    SELECT NVL(WB.VEHICLE_NO,0) VEH_NO
      FROM WAYBILL_TBL WB,
           SERVICE_MASTER_TBL SER
    WHERE WB.SERVICE_ID = SER.SERVICE_ID
       AND WB.DEPOT_CODE = SER.DEPOT_CODE     
       AND WB.VEHICLE_NO=:1
       AND WB.SERVICE_DATE=:2
    the code in my controller is
                  OAViewObject vo=(OAViewObject)am.findViewObject("PopUpFieldsDataLOVVO1");
                  vo.setWhereClauseParams(null);
                  vo.setWhereClause(null);
                  System.out.println("vehicle_number"+vehicle_no);
                  System.out.println("service_date"+service_date);
                  vo.setWhereClauseParam(0,vehicle_no);
                  vo.setWhereClauseParam(1,service_date);
                  vo.getQuery();
                  int rowcount=vo.getRowCount();
                  System.out.println("No.of.rows.returned"+rowcount);
    here i am getting rowcount 0
    i checked the values that are passed to the VO by using SOP even they are working correctly.......
    can any one help me here.
    thanks in advance
    DEV

    Hi Sushant
    I used the code vo.executeQuery();
    sorry  I forgot to mention previously
    even though i am getting the same rowcount that is 0
    thanx and regards
    DEV

  • Where is the program after updating Photoshop Elements 9?

    After updating Photoshop Elements 9, I can't find the program. I'm using Windows 7 and the program is not in the Start Menu, on the Desktop or pinned to the Taskbar. There are no .exe files in the Program Files (x86) folder, there is no Adobe folder in the Program Files folder, and there are no .exe files related to Photoshop Elements 9 in the ProgramData folder. Last of all I did a search for exe files on the C drive and went through all 5936 items - no exe files related to Photoshop elements.
    Please help.

    reinstall if it's not on your computer.
    if you had any problems with your previous installation, clean first - Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Where is the account to execute ssis in file system when run a job

    Hi
    I have a ssis package in file system, and create a job, in general... the section package:... select "File System".
    but it thrown: access denegate: the user should be administrator..
    what is the account or where is it, that use to run the job in agent, this is owner of the job?
    this is my configuration..
    http://blog.sqlauthority.com/2011/05/23/sql-server-running-ssis-package-in-scheduled-job/

    By default it would be the service account which SQLAgent uses
    You can see this from services properties
    for that go to start-> run
    type services .msc
    In local services window right click SQL Agent Service and check the properties and in LogOn tab you will see the account configured for it
    Most cases it would be network service account and in some cases local system account (if not in a domain)
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • HT4796 Where are the files after migration?

    I used the Migration to transfer files from my old PC to my new MacBook Pro.  Where can I find the files on the MacBook Pro?

    Look at the right hand column of this forum under "More Like This" for helpful answers.

  • Where are the Palm Desktop executable​/settings stored?

    Palm Desktop 4.1.4E on Treo 650  Had to re-load from website, and now it wants me to start over.  If possible, I would like to populate the desktop with my previous settings. Thank you
    Post relates to: Treo 650 (Cingular)

    I lost the majority of my data (fortunately I had a relatively new backup) and most of my programs, including Palm Desktop.  So. I downloaded the executable, but when I tried to run the program, it demands that I set it up again - user name, etc. I was wondering if the settings I had before the loss were still located somewhere
    Post relates to: Treo 650 (Cingular)

  • Where are the bookmarks after Firefox Sync?

    I appear to have successfully synched my android device with my Firefox desktop. The Firefox android settings show "Connected" enabled, and I have a date and time for Last update.
    However, I can't see the bookmarks (or any other other sync data). Would you please let me know where/how I access them on my android device (Samsung Galaxy S2)?
    Thanks,
    Ray

    Thank you ... that is very helpful indeed!
    I have nested bookmark folders. Presumably Mozilla knows that when pressing the 'go to previous screen' back button from a nested folder on an android device, you are returned to the original web page itself rather than the previous nested folder?
    Thank you.
    Ray

  • Impossible to See the log after executing a logic

    Hello,
    Most of the time I develop on a VM. On this system i have acces to a execution log once i have launch a Logic though a SSIS package ( BPC 5.1 ). But on the production system i don't have acces to the execution log. Is there a parameter i can change to have acces to this information ?
    Kind regards,
    Damien

    Hi,
    To have access to log of logic you need to have access to follow patch:
    fileserver\C$\BPC\Data\Webfolder\YourAppset\YourApplication\Private Publication\Your User\
    So you can check if you already have access there and in case if you don't have then you have to ask your IT to share Webfolder with only right access for your user or for everyone if more users would like to have this kind of access.
    Any way usually if you run a DM package to run the logic you should be able to see the log directly into Log of the package.(you have there a section view script logic log).
    Regards
    Sorin Radulescu

  • Where are the archive or executable files for Adobe 4 stored in Win7?

    I read the help file, but which are the files I need to back up in case I have to reinstall the program?

    hi,
    use th following link,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b492c-7d76-2a10-86aa-e11e8388fde8
    Regards
    Jayapriya

Maybe you are looking for

  • Compiles in Java 5.0 but not 6.0

    I did my homework on my school computer (in eclipse) and compiled in in 6.0 and everything worked. Then I saved it to a usb drive and brought it home. I tried to run it on my computer (in eclipse) in 6.0 and it gave me this error: Exception in thread

  • Track changes in business rule made using SOA composer

    Hi, I have business rules deployed on a server. Authorized user can change condition or any other thing in a business rule using soa composer. How can i track changes made in this business rule? i.e. I want to view the change and if possible who chan

  • Macbook pro running slow after latest Yosemite update!

    Hi! I updated to the latest Yosemite software yesterday and I was just curious to know if I am the only one experiencing how my mac suddenly runs really slow?? It takes twice as long for me to open my mac and I often find small glitches when I use th

  • Upgrading Flash Player when I already have the latest verison installed on my computer

    I have the latest verison of Adobe Flash Player on my computer which is Adobe Flash Player 11 Active X  ( verison 11.9 ) and also I have Adobe Flash Player 11 Plugin and while playing Farmville2 on Facebook, I am asked to download or upgrade my Adobe

  • Trying demo... crash on import

    Hi, Ok, I know there's a really long "crash thread" but honestly I can't find an answer in there and given so many pages I'm not sure I would. Anyway, I am trying the demo; cam is a new Panasonic HC-V700M; first clip I imported went fine. Second one