Commit Not Working in SQL (but works from icon)

I can't figure this one out. When I write a script I am not getting a commit even though in the statement output it says "committed". However with the very same sql if I take the commit out and just run the statement and then use the commit icon it works. For example this will not commit from sql
delete
from
test_table
where user_id = 'abc123';
commit;
But if I run it like this and click the commit icon it does:
delete
from
test_table
where user_id = 'abc123'
Any info much aprreciated

How are you running it? If you use F9 (or the green arrow) it will only run one statement.
If you use F5 (or the green arrow with a piece of paper behind it) it will run the whole worksheet ( or the selected area) as a script.
If both statements are running you should see
x rows deleted.
Commit succeeded.

Similar Messages

  • People picker is not working for ie11 but working fine for other lower version

    i am using sharepoint 2010 and windows authentication
    recently i have updated my ie to ie11 and problem goes here.
    when i try to select from people picker, there are an unexpected error happened 
    however when i use other ie version, people picker work fine, what goes wrong?
    i have already added my system as trusted site
    if there any others thing i miss out?

    Hi,
    According to your post, my understanding is that People picker is not working for ie11 but working fine for other lower version.
    IE 11 is known to have compatibility issues on SharePoint 2010, please make sure to:
    first of all, try installing latest update for IE 11 (several compatibility issues were fixed since the first release)
    add the site to compatibility view (in IE> Tools> Compatibility view settings> type site name> add)
    add the site to trusted sites and set the zone security level to low (in IE> Internet Options> Security> trusted sites> sites>add your site there> ok> custom level> select low> reset> ok)
    You can use developer tools (f12) and set browser mode to the version that is most compatible with your environment.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I have a Mac running 10.9.2. My wireless mouse with not scroll in mail but works fine in other applications? Any suggestions?

    I have a Mac running 10.9.2. My apple wireless mouse will not scroll in Mail but works fine in other applications.
    Any suggestions?

    First, see this discussion. If the solution suggested there doesn't work for you, continue.
    If you've installed a Mail plugin called "Mail Unread Menu" and you know how to remove it, please do that, then quit and relaunch Mail. Test. Otherwise, see below.
    Back up all data.
    1. Triple-click anywhere in the line below on this page to select it:  
    ~/Library/Mail/Bundles
    Right-click or control-click the highlighted line and select 
    Services ▹ Open
    from the contextual menu.* A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
    2. Repeat with this line:
    /Library/Mail/Bundles
    This time you may be prompted for your login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Motion tracking is not working for videos but works for images?

    Motion tracking is not working for videos but works for images. When the videos is drop onto the tracking object the videos corner don't appear highlighted. I am working on windows 7 with version 13.1.

    ivanhoeeurope
    Are you within 30 days of purchase for the Premiere Elements 13? And, did you purchase as a download from Adobe? If so, you can
    apply for a return/refund for 13. If you purchased elsewhere, then you would be governed by the return/refund policy of the seller.
    Adobe no longer sells version 12, so you would have to find a vendor who still has it in stock and purchase it. There is no way to "downgrade"
    13 to 12.
    What you may want to do is to download and install the Premiere Elements 12 tryout from the following web site to verify that 12 Motion
    Tracking works for you; whereas 13 cannot with regard to use of video for the Motion Tracking source media.
    Adobe Photoshop Elements 12 Direct Download Adobe Photoshop Elements 12 Direct Download Links, Premiere too | ProDesignTools
    Apparently this web site does not sell the tryout. It just makes it available for use.
    Before I posted my reply to you I looked at Motion Tracking with video source media on both Premiere Elements 12/12.1 and 13/13.1 on the same Windows 7 64 bit computer.
    If any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • My keyboard is not working in "Pages" but works with all other applications.  Please provide resolution advice.

    My keyboard is not working in "Pages" but works with all other applications.  Please provide resolution advice.

    What version of Pages?
    There are one or two of us here who are not intimately acquainted with your particular set-up.
    Peter

  • The "new" hotmail no longer works with safari, but works with firefox. Hmm.

    The "new" hotmail no longer works with safari, but works with firefox. Hmm. i find this very convenient being a microsoft product. anybody else wonder why this new version happens to not be safari compatible? does anybody know if it works on the PC version of safari? if not, i find this to be a blatant move on microsofts part to bias the safari browser (especially since its basicly new on the window platform). forcing safari/hotmail users to "have" to use another browser to access their hotmail accounts.

    I have been successfully using Hotmail and Gmail with Safari for a long time. For roughly the past month, that relationship is rocky at best. At times, one of the following actions suddenly opens Hotmail, but it is a short-lived solution:
    (a) Hotmail directly
    (b) Hotmail Home>Hotmail
    (c) Sign up to Windows Hotmail
    (d) Deletion of prescribed cookies, resetting, etc. - made no difference
    Both Firefox and Opera work fine with Hotmail - especially Opera is very fast.
    In addition, Safari and Gmail does not work with Attachments, but otherwise Gmail is OK.
    I suspect I have to wait for a Safari fix because in my case I do not wish to abandon Hotmail, and Safari is a given. I would think that Safari would want to stay competitive with the two biggies, Hotmail and Gmail, which must have large numbers of users.
    I certainly would appreciate any other suggested fixes.

  • Oracle 8i - PL/SQL sub query not working in PROC, but works ins SQL

    I have read about certain things not working in 8i and I think this is one of them, but I was wondering if anyone had a work around. In the place of the SELECT SYSDATE FROM DUAL, I have a table look up, where I am going to look up the OCN of the corresponding VENDOR_ID ( a column in the original query ). I am doing it in a decode statement because if the first condition in the decode statement is met, that's it. But if not, it needs to look up the OCN number in this other table. Simple enough, conceptually. I thought of a view but that necessitates a SELECT statement, too. Anyway, here is the code with the appropriate text bolded:
    CREATE OR REPLACE PROCEDURE tstINS_RATE_ROUTE_RECORDS_PROC (GET_CUR_PERIOD IN DATE) IS
         CUR_PERIOD DATE;
         BEGIN
         CUR_PERIOD := GET_CUR_PERIOD;
         Insert into RATE_ROUTE (
           CVBI_KEY
         , VENDOR_ID
         , OCN
         , ST_CD
         , PERIOD
         , MDFY_DT )
         Select
           C.CVBI_KEY
         , C.VENDOR_ID
         <b>, decode( c.send_lca, 'YES', 'XXX', (SELECT SYSDATE FROM DUAL) )</b>
         , decode( c.send_lca, 'YES', 'XX', SUBSTR(C.ZLOC,5,2) )
         , CUR_PERIOD
         , TO_CHAR(SYSDATE)
         FROM
           rpt_ds1_cnt_cat c
         , cogs_resource cr
         , cogs_t1activity ct1
         , rpt_ds1_aloc_zloc_reverse_vw az
         where (C.CVBI_KEY = CR.CVBI_KEY (+)
         and  CR.PERIOD = CUR_PERIOD)
         AND  (C.CVBI_KEY = CT1.CVBI_KEY (+)
         and CT1.PERIOD = CUR_PERIOD)
         and (az.master_route_name=c.aloc||'-'||c.zloc OR az.reversed=c.aloc||'-'||c.zloc)
         END; -- INS_RATE_ROUTE_RECORDS_PROC

    have read about certain things not working in 8i and I think this is one of them,Yes as I said scalar sub-queries were also not recognized within PL/SQL in 8i.
    Re: PLS-00103: Encountered the symbol "SELECT" when expecting one of the fo
    I was wondering if anyone had a work around.Write a function that returns the value. You may incur a performance penalty from a context switch to PL/SQL, but it may be balanced by the decode optimization you are attempting.

  • Query working in sql but not if  forrms!!!!

    I transferred my column apprnum from tblrefstaff to paymast using
    SQL>update paymast set paymast.apprnum=(select tblrefstaff.apprnum from tblrefstaff where tblrefstaff.empno=paymast.empno and rownum=1);
    5072 rows updated
    Now i query for the records in paymast
    SQL> select empno from paymast where apprnum='338';
    EMPNO
    2217
    SQL> select apprnum from paymast where empno='2217';
    APPRNUM
    338
    Now in forms when i write this under POST-QUERY
    begin
         select apprnum
         into :paymast.apprnum
         from paymast
         where empno = :paymast.empno;
    exception when no_data_found then null;
         end;
    no data is retrieved in to the item apprum
    its only retrieved when the name of table is that of the previous one like this
    begin
         select apprnum
         into :paymast.apprnum
         from tblrefstaff
         where empno = :paymast.empno;
    exception when no_data_found then null;
         end;
    2nd CASE: after transferring apprnum to paymast all the items are now under paymast so i just removed the code under POST-QERY and the set the datbase item to yes and column name to APPRNUM but still no use
    It only fetches records in apprnum using
    select apprnum
         into :paymast.apprnum
         from tblrefstaff
         where empno = :paymast.empno;
    exception when no_data_found then null;
         end;
    how should solve this.?
    Edited by: Suhail Faraaz on Nov 10, 2009 2:10 AM

    i think you forgot to commit; after executing update stmt..
    It will work in SQL becoz, you wrote the Query immediately after the select stmt.
    But Forms is in another session, it cannot access the data until you commit the SQL session.
    Regards
    Dora
    Edited by: Dora on Nov 10, 2009 2:26 PM

  • Comm.jar not working in Applet but works in Eclipse

    Hello,
    Please help me to read serial port data from Java Applet.
    The below code working well and get data from weighing machine when we run in eclipse(Run Applet). But it now working when we use class file in Applet.
    I think its security issue, but i still could not understand what we need to do.
    I put the JOptionPane.showDialog and found that the code is crashing in line CommPortIdentifier.getPortIdentifiers(); (Not understood why try catch not working.)
    I am using in Windows 7 environment.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.event.*;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Enumeration;
    import java.util.logging.Logger;
    import javax.comm.*;
    import javax.swing.*;
    public class SimpleApplet extends JApplet {
    public void init() {
    JButton button = new JButton("Click me!");
    button.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent evt) {                 
         JOptionPane.showMessageDialog(SimpleApplet.this, "hello");
    JOptionPane.showMessageDialog(SimpleApplet.this, Getdata());
    add(button, BorderLayout.CENTER);
    setBackground(Color.GRAY);
    public String Getdata()
         try
              String drivername = "com.sun.comm.Win32Driver";
    try
    CommDriver driver = (CommDriver) Class.forName(drivername).newInstance();
    driver.initialize();
    catch (Exception e) { //just do nothing, it doesn't really matter
         Enumeration portList=null;
    CommPortIdentifier portId;
    SerialPort serialPort;
    OutputStream outputStream;
    try
         portList = CommPortIdentifier.getPortIdentifiers();
    }catch(Exception ex)
         JOptionPane.showMessageDialog(SimpleApplet.this, "erorr:" + ex.getStackTrace().toString());
    JOptionPane.showMessageDialog(SimpleApplet.this, "get port lsit");
              while(portList.hasMoreElements())
                   portId = (CommPortIdentifier) portList.nextElement();
                   if(portId.getPortType()== CommPortIdentifier.PORT_SERIAL)
                        if(portId.getName().equals("COM1"))
                             try
                                  serialPort = (SerialPort) portId.open("WeightMachine",200);                              
                                  serialPort.setSerialPortParams(1200, SerialPort.DATABITS_8, SerialPort.STOPBITS_1,SerialPort.PARITY_NONE);
                                  outputStream = serialPort.getOutputStream();
                                  InputStream mInputFromPort = serialPort.getInputStream();
                                  outputStream.write("W".getBytes());
                                  outputStream.flush();
                                  Thread.sleep(500);
                                  byte mBytesIn [] = new byte[20];
                                  mInputFromPort.read(mBytesIn);
                                  //mInputFromPort.read(mBytesIn);
                                  String value = new String(mBytesIn);
                                  mInputFromPort.close();
                                  serialPort.close();
                                  return value.replace("+00", "").replace(" Kg", "");
                             }catch(Exception ex)
                                  return ex.getMessage();
              }catch(Exception ex)
                   JOptionPane.showMessageDialog(SimpleApplet.this, "erorr last:" + ex.getStackTrace().toString());
              return "Not found";
    Thanks in advance.
    Avinash

    959817 wrote:EJP wrote:959817 wrote:
    it now working when we use class file in Applet.Define 'not working'.But when i run applet from browser from same machine its not working.That's not an answer. That's just a vague and pointless restatement of the original vague and pointless statement that I asked you to clarify.
    When you take your car to a mechanic, do you just tell him it's 'not working'?

  • DB Link - works via SQL but not via packages

    I have a database link on user ODB on database A, to database B. The DB Link seems fine for SQLs that i do, but doesn't compile in my package code. Please tell me why it works for "regular sqls" but not inside a package.
    Example: while connected as ODB user on database A, if I do this query:
    SELECT "TRAXDOC_DETAIL"."FILE_NAME",
    "TRAXDOC_DETAIL"."FILE_TYPE",
    FROM "TRAXDOC_DETAIL"@TRAXDOC_LINK
    WHERE "TRAXDOC_DETAIL"."TRAXDOC_ROW_ID" = 100031 AND
    "TRAXDOC_DETAIL"."TRAXDOC_LINE"= 2
    It works fine. But the same query inside a package that is owned by user ODB on database A will not compile, stating the table/view does not exist.
    The database link is owned by use ODB on database A, connects directly to the owner of the tables in question on database B.
    Any suggestions welcome... this is an urgent issue, because it also worked fine on my customer's test environment, but not on their Production that they just upgraded. I need to know what to look for as to what could be wrong.

    Thanks so much for your response - Prefixing the call to the table within the package, with the schema owner does indeed solve the problem. Since this is a Production issue, i have implemented this fix in my customer's database.
    However, I would still like this issue permanently resolved. The next time we send out updated package code, this will happen again (unless we then fix it again). I'd still like info from anyone on what exactly must be done to allow the call within the package to work without specifically pre-fixing the table's schema owner. It shouldn't be needed... The DB link is connecting via the same schema on database B that owns the table in question.
    pre-fixing the schema owner is something we don't do in our sql statements, and this has worked fine for many of our cusomer's environments. We're only seeing this issue on one environment.

  • Connect by prior working in sql but not in forms 10g hierarchical tree

    Hello Friends,
    I have the following connect by prior example which is working in sql command prompt but not in Forms 10g hierarchical tree item type. Can you please let me know why ?
    configuration: Forms 10g patchset 10.1.2.0.2 and oracle 11g database on windows 7
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports where formname = 'billinin.fmx' or reportno > 9999
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno
    9 /
    INITIALSTATE DEPTH NODELABEL N NODEVALUE
    1 1 FIRST 10000
    1 2 report1 UD Label 1
    1 2 report2 UD Label 2
    1 2 report3 UD Label 3
    1 1 SECOND 10001
    1 1 THIRD 10002
    If I write this command in forms hierarchical tree, then it is working, why not the above code ?
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno

    Thanks Room,
    This command worked ! I will put the sample working code here. It will help you to filter the records in a tree in sql command prompt as well as in forms hierarchical tree 10g.
    SELECT 1 InitialState,
    level Depth,
    labeller NodeLabel,
    NULL NodeIcon,
    to_char(reportno) NodeValue
    FROM reports
    start with reportno > 9999
    CONNECT BY PRIOR reportno = labelno
    AND FORMNAME = :reports.testitem

  • ORA-01891 - Query works in SQL+ but not in JDev

    JDev 9.0.4 / DB 8i...
    I run a query in SQL+ and it returns results, I run it in JDev Worksheet and I get "ORA-01891: Datetime/Interval internal error".
    The query is a select from a view based on a synonym that links to a table in another DB (database link). I have boiled it down to it's "simplest" form for testing and it looks like:
    select * from some_table;
    I can also run this query in 9.0.5.2 worksheet.

    Funny you should mention that. The reason I found this error is because one of my VOs wasn't working, so I tried running the query in the worksheet. Didn't work there either but I was getting this different error (posted above). Anways, turns out the viewobject had the wrong attribute listed so I fixed that but the worksheet doesn't work.
    I don't think it's the attribute because the worksheet isn't directly connected to the VO so it shouldn't be aware of it. Additionally, only the VOs that are based on the view/synonym/link are affected.
    Thanks for the suggestion though!

  • Wireless not working in linux, but works fine in windows vista

    Hello!
    I have installed Unbreakable Enterprise Linux 4 in a dual boot config. with Window Vista on a Compaq Presario laptop. After install completed I found that my on board Broadcom Wireless Adapter (Dell 1390 Mini PC card) was not recognized. I have tried installing NDISwrapper versions 1.48 and later 1.47 (after uninstalling 1.48) because everytime I got to the "modprobe ndiswrapper" received a fatal error about an unknown symbol or parameter, and on install I also encountered a "CONFIG_4KSTACKS" error as well. The good part is the light on my laptop for the wireless adapter finally came on and the driver (bcmwl5.inf) appears to be installed and the wireless adapter identified as being present, but it still doesn't show up in the network manager gui interface. So I am out of ideas if any one can give me a suggestion for a solution I would appreciate it.

    Hi there,,,,,
    I have Oracle Enterprise Linux 5 installed and Intel wifi 5100 card installed on my laptop. Wireless card does not work in Linux it works fine with Vista, I have dual boot. I have downloaded and installed the microcode for the wireless card for Linux,,,it is now active but it does not take ip address from dhcp and nor does it connect when i supply manual ip. it does not even scan for any wireless network. I have WEP enabled on my wireless network. It just says disconnected.....
    Please help me.....i have been trying to get this thing work for 3 weeks.
    thanks.

  • Page is not working in serverside but working correctly in JDEV

    Hi,
    After deploying the page which is working propely in my local machine JDEV,
    its not working same at server side. i bounced apache couple of time.
    if any one faced similar issue, please share.
    Thanks,
    Mahesh

    Pages are working fine in my loacl machine, but whn i compile pages (javacode) at server and running the pages from apps instance, pages are not working correctly. But whn I transfer the class file from local machine to server side page is working perfectly, what would be the reason.How to check the Java/JDK version
    D:\>cd jdevbin
    D:\jdevbin>cd bin
    D:\jdevbin\bin>java -version
    java version "1.3.1_01" -- Java Version on local machine
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    On server
    [apeafin19@camoraapp10 ~]$ cd $ORACLE_HOME
    [apeafin19@camoraapp10 8.0.6]$ pwd
    /u01/oracle/eafin19ora/8.0.6
    [apeafin19@camoraapp10 8.0.6]$ cd bin
    [apeafin19@camoraapp10 bin]$ java -version
    java version "1.4.2_12" -- Java Version on server machine
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
    [apeafin19@camoraapp10 bin]$
    You can see the difference of JDK installed on server and on our local machine which can be root cause of the issue
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Airplay works with Computer but missing from iPhone 6 8.02

    When I first got my iPhone 6 I was able to use Airplay from day one. I recently upgraded to 8.02 and now the Airplay icon no longer shows up on my phone. I can, however, still use the same speaker via Airplay from my computer so I know Airplay is working properly.  Even though none of the troubleshooting steps were applicable to my exact problem, I completed them anyway but the Airplay icon still doesn't show up on my phone.

    That is not a feature of Airplay - you need to have an Apple TV or install software like Airserver on your Mac: http://www.airserver.com/
    ~Lyssa

Maybe you are looking for

  • Problem in configuring "Group" in BizTalk Server Configuration

    After installing BizTalk I am configuring it , Enterprise SSO is configured Successfully and then trying to configure Group,But it is failing.Below is the log file. I have installed BizTalk Server 2010 and SL Server 2008 R2 in the same local machine.

  • How to Expose LogOff services as an iview on TopLevel Navigation

    Dear Experts I need to provide a logoff iview in Top Level Navigation. I have created a pdk  application for this. It is providing the basic functionality of logoff, but after logoff it is redirecting to the default portal logon page instead of my cu

  • NWDI: CMS Track Authority

    Hello, we have an NWDI SP15 (nw04s) and we want that developers are able to transport. We activated CMS Track Authority for your tracks and have added our developers. But still developers aren't able to import transports. The import button is grey. O

  • Why won't my macbook air connect to the internet?

    I recently arrived at my relatives house and connected to their guest internet via password. I opened network preferences, selected the network, and it connected. Then when I went to google chrome and safari, I was sent to a page where a login passwo

  • Logic X Mixer Window sluggish

    I open my old Logic 9 session and the mixer window opens very fast and scrolls back and forth very fast. On Logic x the mixer window opens the first time blank and then a second later the faders appear. then scrolling back and forth is very slow. onc