Can't delete a row with a long raw in it

I have a table with a long raw column. I am using the following
to try to delete the row from a copy of 8i Lite:
stmt.executeUpdate("delete from blobs where blobid="+blobId);
My application hangs at this point. Any theories?
I am using this driver: oracle.lite.poljdbc.POLJDBCDriver
I am using the 1.2.2 jdk.
-Justin
null

I opened activity monitor, closed all programs associated with pdf, preview, etc., however that didn't work. A simple restart did the trick. Even though I could see the pdfs on my destop the files were deleted. That explains why I couldn't manipulate the file. Somehow the file got caught in the graphics string.......????

Similar Messages

  • How can I delete a photo with the new update?

    How can I delete a photo with this new update Photos?!

    Use the View menu to switch to Photos (Moments window) if you aren't already there. Click on the photo to select it. Press the Delete key. Confirm.

  • Issue with Oracle LONG RAW data type

    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /

    Maddy wrote:
    Hi All,
    I am facing some issues with Oracle LONG RAW DATA Type.
    We are using Oracle 9IR2 Database.
    I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column.
    When I tried using INSERT INTO SELECT * command (or) CREATE TABLE as select * , it is throwing ORA-00997: illegal use of LONG datatype.
    I have gone through some docs and found we should not use LONG RAW using these operations.
    So I did some basic PLSQL block given below and I was able to insert most of the records. But records where the LONG RAW file is like 7O kb, the inserting is faliling.
    I tried to convert LONG RAW to BLOB and again for the record where the LONG RAW is big in size I am getting (ORA-06502: PL/SQL: numeric or value error) error.
    Appreciate if anyone can help me out here.
    DECLARE
    Y LONG RAW;
    BEGIN
    FOR REC IN (SELECT * FROM TRU_INT.TERRITORY WHERE TERRITORYSEQ=488480 ORDER BY TERRITORYSEQ ) LOOP
    INSERT INTO TRU_CMP.TERRITORY
    BUSINESSUNITSEQ, COMPELEMENTLIFETIMEID, COMPONENTIMAGE, DESCRIPTION, ENDPERIOD, GENERATION, NAME, STARTPERIOD, TERRITORYSEQ
    VALUES
    REC.BUSINESSUNITSEQ, REC.COMPELEMENTLIFETIMEID, REC.COMPONENTIMAGE, REC.DESCRIPTION, REC.ENDPERIOD, REC.GENERATION, REC.NAME,
    REC.STARTPERIOD, REC.TERRITORYSEQ
    END LOOP;
    END;
    /below might work
    12:06:23 SQL> help copy
    COPY
    Copies data from a query to a table in the same or another
    database. COPY supports CHAR, DATE, LONG, NUMBER and VARCHAR2.
    COPY {FROM database | TO database | FROM database TO database}
                {APPEND|CREATE|INSERT|REPLACE} destination_table
                [(column, column, column, ...)] USING query
    where database has the following syntax:
         username[/password]@connect_identifier

  • BC4J: Problem deleting a row with clob field

    When I try to delete a row that contains a CLOB field.
    When I call the function removeCurrentRow in my View object I get this exception:
    JBO-25014: Another user has changed the row with primary key oracle.jbo.Key
    Could anyone tell me why I can't remove the row? Thanks in advance!
    null

    This looks like a bug in TreeBinding. Please file this as a bug/tar with OracleSupport with your reproducible testcase (or steps to reproduce). Thanks.

  • I can't delete "Front Row".

    I installed "Front Row" then I tried to erase it. I found everything of it (application, preferences, etc.) and I erased them. Now, after a month, when I start my computer, it appear ("Front Row") and I've to close it pressing "esc" key. It doesn't appear since I switch off my computer then I restart it. Thank you.

    You may have to force quit the application running from the Activity Viewer/Monitor in Applications -> Utilities. Make sure it does not reappear. If it doesn't show in that application, go to Applications -> Utilities -> Terminal, widen the window full screen width, and type at the prompt:
    ps -ax
    There you should find the PID for the Front Row application on the same row as the Front Row application itself.
    Once you know that PID number at the prompt type:
    kill -15 PID number
    If it doesn't let you kill it, try
    sudo kill -15 PID number
    All commands given in the Terminal should be followed by a Return key pressing. PID number will be one number, and you should use the number itself to substitute for wherever it says PID number in the instructions above.
    Once you have verified Front Row is no longer running with
    ps -ax
    Deleting it should be possible.

  • Delete multiple rows with BC4J

    I can't find anything on multi-delete with ADF.
    Is it supported?
    ViewObjectImpl v = (ViewObjectImpl)am.findViewObject("X");
    ViewCriteria vc = v.getViewCriteria("Y");
    v.applyViewCriteria(vc);
    v.executeQuery();
    v.removeAllSelectedRows(); //Delete all rows selected by vc "Y"
    getDBTransaction().commit();
    Thanks

    Thanks Timo, I had figured that one out, that's how we did it in the first place but its not acceptable for my Use Case.
    The goal for me is to have something that can scale, I don't want to loop through my millions of records and remove them one by one, hence take a hit on performance.
    I assume there is somehow a way to do mass update/deletes with ADF/BC4J?
    Cheers
    JP

  • Can't delete matrix row in UDO form

    Hi all,
    i have a problem. I've already searched the forum and found a couple of solutions, but they didn't work.
    I can't delete a matrix row. I'm on patch level 39, i've read that patches from 32 to 38 gave some problems with matrix row delete.
    Any one has notice regarding same problems with patch 39?
    I post the code i'm using for the delete.
    matrix.FlushToDataSource()
    dbDataSource.RemoveRecord(row - 1)
    matrix.LoadFromDataSource()
    UIForm.Update()
    'Removes the change trace row
    changeTrace.RemoveAt(row - 1)
    UIForm.Mode = BoFormMode.fm_UPDATE_MODE
    Thanks in advance

    Hi,
    I'm using PL39 and I can delete rows in matrix (you are right in previous patch there was an error, and it´s imposible to delete rows). I saw the code you put and I doesn´t undestand what you are trying to do. I explain what I do:
    - I enable the menu 1293 to delete row in a matrix, in the menu event i put the following code
                         Dim oMtx As SAPbouiCOM.Matrix =
    oMtx.FlushToDataSource()
    This works for me.

  • My imessages have been hacked and recovery email changed and I can't delete it! (with pic)

    My iMessages have been hacked and the hacker entered his email as the recovery email with security questions I can't answer. I contacted Apple support and went through the 24 hour process of changing my info so that I could get into the account, but his email address is still the recovery address and it does not give me the option to delete it. I've added alternate emails that can be deleted, but it will not let me change or delete the recovery email. I can change phones and passwords a million times, but if he can just recover my password what am I supposed to do? I have turned iMessage off on my phone (as well as the gps) but I would really like help in deleting that recovery email if anyone has any bright ideas! The pic below shows the only place in all of the settings that his email address shows up anywhere! Any help is very very very appreciated.

    Hi,
    I don't think that can be solved by any advice the regular posters could post here.
    I would go back to Apple and explain the situation (again).
    I would also consider closing the account (Apple rarely seem to do this as accounts are never deleted but just closed).
    I understand this may cause issues for things purchased in iTunes and the App Store which my include Restoring the OS at some point.
    8:20 pm      Tuesday; September 16, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How can I delete an email with a huge video/movie attachment.  It is jamming my email and won't delete.

    I received an email with a huge attachment of a short (30 sec) movie.  I can't delete it and it seems to have jammed that email address.  When I try to delete other messages they keep reappearing even after emptying the "trash".  What can I do to delete this huge email?  I have shut down the iPod Touch (OS 4.2.1) and restarted but that didn't help.  Any suggestions?

    Thanks for the suggestion, but I have already read and deleted the email from the same account on my laptop. And the message is still on the iPod.  I gave up on trying to delete the message, mainly because it is such a huge file that the iPod would shut down each time before the task could be completed.  By giving up on deleting the message, and turning the iPod off overnight, the everything seems to have settled down and all other emails are coming in and able to be deleted, forwarded, etc.  So my one option is to just leave that message on the iPod and ignore it even tho it is using a lot of megs of storage.
    Another thought I had was deleting that email address from the iPod and adding it back in later.  Does anyone know if simply deleting the email address would get rid of all the messages for that address?  I'm reluctant to try it just yet, but welcome any suggestions on that approach.

  • HT4207 I have same problem.  But my archive is off and was never on.  I downloaded a bunch off apps and it changed.  I can swipe delete, but there is no longer a delete button to hit after I read the email?  Confused

    My gmail on my iPhone 4S was working perfect.
    I bought a iTunes card and registered it and bought some new apps
    And tried many free ones.  Now when I got to in box and read
    An email the delete button option is now missing.  I can swipe delete, and my archive is and has always been off.
    At the bottom if the page on gmail on the phone the whole row of options delete, move etc
    Is missing.  Can anyone help?

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • Remove/delete the row with Report Name above header while exporting SSRS to excel

    I wanted to make sure to delete the top most row with Report name in SSRS report while exporting to excel.
    I didn't find any way to do so, My report don't need a report name actually i deleted  the text still a blank row appears in excel.
    Is there any property hidden i need to look for this requirement?

    Invalid definition.
    The report definition is not valid.
    Details: The report definition has an invalid target namespace
    'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition'
    which cannot be upgraded. (rsInvalidReportDefinition)

  • Can't Delete to Trash with LR5.6 and iMac 10.9.5

    I have used LR since version 1.  My main catalog is still LR 4.4 but I have downloaded the 5.6 CC trial with a view to updating but have run into a problem.   If I try to delete a photo from within a LR 5.6 catalog by pressing the delete key and clicking on "move to trash" an error message comes up saying that the volume does not support Trash.  It does offer the option to permanently delete the photo which works OK.
    Alll photos and the catalog are stored on an external disk connected to the iMac via Firewire 800.  That disk is not networked and not shared with any other computer.  It is formatted as Mac Extended Journaled.  The permissions for that disk are all Read/Write (the problem persists whether or not the "ignore ownership" checkbox is checked or unchecked).  I have repaired the disk using Disk Utility and repaired Disk Permissions on the startup disk, I have also experimented with moving the LR catalog to the startup disk.  None of this helps - I still cannot move a photo from my catalog to the Trash but I can permanently delete it.
    I have had no problems with this disk and can move photos to the trash from my LR 4.4 catalog and every other program and from the OS.
    Can anyone shed any light on this?

    Hello
    I've tried this, along with numerous other fixes on the forums and nothing seems to help. Running the latest version of LR (5.7) and Yosemite.  It was not an issue before I upgraded to Yosemite though. I deleted files regularly using the typical tools/commands in LR with no problem at all.  Most of the fixes have focused on problems with external hard drives but the files I am trying to delete are all on my hard drive. I also checked to be sure permissions were Read & Write on the main Adobe folder as well as the Lightroom folder in the finder.

  • The Apple ID has been changed on my iPad but the apps won't update with the new id and password, including the apps that came with the iPad so I can't delete and reinstall with new Apple ID

      What do you do if you have bought a used iPad and the apps won't update without the original id and password.  Can't delete the apps that come with the iPad and reinstall them so what do I do?

    Correct. An app can only be updated under the Apple ID that was used to orginally acquire the app. If that is a problem you can delete the app and download again under the new userid. If you paid for the app you will have to pay again. Your old Apple ID does not go away so there is no reason to not use it to download the apps.
    You cannot delete the apps that came with IOS. If you want to "hide" the apps simply put the apps into an application folder by dragging one app onto another. You can do this to all the IOS apps.

  • HT4623 How can I delete the apps I no longer want to use? I tried to hold down on the app but no x would appear for me to delete them. Please help, thanks!

    I can not figure out how to delete old apps and games I no longer use. I have tried everything. I tried holding down on the apps and no x would appear for me to delete the apps. Could someone please help? I even tried deleting them under the usage/storage area and still no luck.

    When you're tapping and holding on the apps are they jiggling? If you are seeign jiggling then restrctions may be on. If that's the case follow these steps.
    Check that you haven't enabled Restrictions, you can turn toggle the ability to delete apps through there.
    Goto:
    Settings
    General
    Restrictions
    Enter your Restrictions Passcode
    Scroll down and check to see if Deleting Apps has been enabled (On - so can delete) or disabled (Off - so CAN'T delete).

  • Can't compare a row with other rows within a table.. (many to many compare)

    Hi all..
    I am very new to PL/SQL..
    I need to travers through a table for comparing it's rows with in the table with other rows. For this I am trying to use bellow Pl/sql.
    create or replace compare()
    Declare
    VAR_HIT CHAR(1);
    SEARCH_RECORD_DATA UDB.table1%ROWTYPE;
    CANDIDATE_RECORD_DATA UDB.table1%ROWTYPE;
    CURSOR SEARCH_RECORDS_CURSOR IS SELECT * FROM UDB.table1 order by registration_id;
    CURSOR CANDIDATE_RECORDS_CURSOR IS SELECT * FROM UDB.table1 order by registration_id;
    BEGIN
    FOR SEARCH_RECORD_DATA IN SEARCH_RECORDS_CURSOR LOOP
    FOR CANDIDATE_RECORD_DATA IN CANDIDATE_RECORDS_CURSOR LOOP
    IF (CANDIDATE_RECORD_DATA.DECISION='P') THEN
    VAR_HIT:='y';
    IF(CANDIDATE_RECORD_DATA.FIRST_NAME!='unknown') AND (CANDIDATE_RECORD_DATA.FIRST_NAME!=SEARCH_RECORD_DATA.FIRST_NAME) THEN
    VAR_HIT:='n';
    ELSIF(CANDIDATE_RECORD_DATA.LAST_NAME!='unknown') AND (CANDIDATE_RECORD_DATA.LAST_NAME!=SEARCH_RECORD_DATA.LAST_NAME) THEN
    VAR_HIT:='n';
    ELSIF(CANDIDATE_RECORD_DATA.BIRTH_DATE!='unknown') AND (CANDIDATE_RECORD_DATA.BIRTH_DATE!=SEARCH_RECORD_DATA.BIRTH_DATE) THEN
    VAR_HIT:='n';
    ELSIF(CANDIDATE_RECORD_DATA.GENDER!='U') AND (CANDIDATE_RECORD_DATA.GENDER!=SEARCH_RECORD_DATA.GENDER) THEN
    VAR_HIT:='n';
    ELSIF(CANDIDATE_RECORD_DATA.FATHER_NAME!='unknown') AND (CANDIDATE_RECORD_DATA.FATHER_NAME!=SEARCH_RECORD_DATA.FATHER_NAME) THEN
    VAR_HIT:='n';
    ELSIF (CANDIDATE_RECORD_DATA.MOTHER_NAME!='unknown') AND (CANDIDATE_RECORD_DATA.MOTHER_NAME!=SEARCH_RECORD_DATA.MOTHER_NAME) THEN
    VAR_HIT:='n';
    END IF;
    IF(VAR_HIT='y') THEN
    INSERT INTO UDB.BIO_DI_HIT_RESULT(REGISTRATION_ID,SEARCH_ID,HIT_CANDIDATE_ID,SEARCH_DETAILS,CANDIDATE_DETAILS) VALUES (SEARCH_RECORD_DATA.REGISTRATION_ID,SEARCH_RECORD_DATA.EGM_NO,CANDIDATE_RECORD_DATA.EGM_NO,VAR_SEARCH_DETAILS,VAR_CANDIDATE_DETAILS);
    UPDATE UDB.BIO_RECORDS_DEMOGRAPHICS SET DECISION='D';
    END IF;
    END IF;
    END LOOP;
    commit;
    END LOOP;
    END;
    Outer loop is working fine (it is raversing throughout the table) (say for 8000 records 8000 times)
    But Enner loop is not working fine e.i. it's running just for 8000 times for 8000 records. while it should run more then 8000 time..
    Can any one help me..
    Is the way of using two cursor on one table for comparing each row of record is correct????????? :(

    Finally I come up with this:
    INSERT INTO UDB.BIO_DI_HIT_RESULT(REGISTRATION_ID,SEARCH_ID,HIT_CANDIDATE_ID,SEARCH_DETAILS,CANDIDATE_DETAILS)
    SELECT SEARCH.REGISTRATION_ID, SEARCH.Key_NO,CANDIDATE.Key_NO,
    'First name='||SEARCH.FIRST_NAME||',Last name='||SEARCH.LAST_NAME||',Birth date='||SEARCH.BIRTH_DATE||',Gender='||SEARCH.GENDER||',Fathers name='||SEARCH.FATHER_NAME||',Mother name='||SEARCH.MOTHER_NAME,
    'First name='||CANDIDATE.FIRST_NAME||',Last name='||CANDIDATE.LAST_NAME||',Birth date='||CANDIDATE.BIRTH_DATE||',Gender='||CANDIDATE.GENDER||',Fathers name='||CANDIDATE.FATHER_NAME||',Mother name='||CANDIDATE.MOTHER_NAME
    FROM UDB.BIO_RECORDS_DEMOGRAPHICS SEARCH,UDB.BIO_RECORDS_DEMOGRAPHICS CANDIDATE
    WHERE (SEARCH.FIRST_NAME!='unknown' OR SEARCH.LAST_NAME!='unknown' OR SEARCH.BIRTH_DATE!='unknown' OR SEARCH.GENDER!='unknown' OR SEARCH.FATHER_NAME!='unknown' OR SEARCH.MOTHER_NAME!='unknown')
    AND SEARCH.REGISTRATION_ID != CANDIDATE.REGISTRATION_ID
    AND SEARCH.REGISTRATION_ID < CANDIDATE.REGISTRATION_ID
    AND (SEARCH.FIRST_NAME='unknown' OR CANDIDATE.FIRST_NAME IN (SEARCH.FIRST_NAME,'unknown'))
    AND (SEARCH.LAST_NAME='unknown' OR CANDIDATE.LAST_NAME IN (SEARCH.LAST_NAME,'unknown'))
    AND (SEARCH.BIRTH_DATE='unknown' OR CANDIDATE.BIRTH_DATE IN (SEARCH.BIRTH_DATE,'unknown'))
    AND (SEARCH.GENDER='U' OR CANDIDATE.GENDER IN (SEARCH.GENDER,'U'))
    AND (SEARCH.BIRTH_DATE='unknown' OR CANDIDATE.BIRTH_DATE IN (SEARCH.BIRTH_DATE,'unknown'))
    AND (SEARCH.FATHER_NAME='unknown'OR CANDIDATE.FATHER_NAME IN (SEARCH.FATHER_NAME,'unknown'))
    AND (SEARCH.MOTHER_NAME='unknown' OR CANDIDATE.MOTHER_NAME IN (CANDIDATE.MOTHER_NAME,'unknown'))
    ORDER BY SEARCH.REGISTRATION_ID;
    Now it realy meet all my final table requirement.. I am happy.. :)
    But again last requirement is like..
    In the final BIO_DI_HIT_RESULT table I need to add one more column named as match_count
    This column will have values of total no. of exact match field (not unknown) for each records in the BIO_DI_HIT_RESULT.....
    One way of duing this is--
    Step1: I will use a cursor for traversing through each of the rows in BIO_DI_HIT_RESULT.
    Step 2: And based on count of matches in search_details(substring) and candiate_details(substring) I update each and every rows of the table.
    It will be very slow.. And for records like 2 million records.. I can't think of this idea. :(
    Sooooo,, Is there ANY BETTER WAY OF DOING THIS AS WELL.. BETTER MEANS FAST WAY.. :(
    Thanks in advance....
    Edited by: user13367608 on Jan 8, 2011 2:13 AM

Maybe you are looking for

  • "error: command failed to execute correctly" on several packages

    Last night, when I updated before shutting down, I got a few errors, as in the subject. As it was very late, I thought I'd pick it up today. Unfortunately, the pacman log only lists one of the ones that failed as libgpg-error. The other one that I re

  • Multiple Cost Center Change Batch Upload

    Hi,   I need to update the data of multiple cost centers. I have tried using BDC/ transaction KS02 and BAPI_COSTCENTER_CHANGEMULTIPLE. However, I encounter problems with cost centers with different validity periods when changing the heirarchy of cost

  • Reg. Characteristics and Class for PO release stretagy

    Dear Experts We want to release PO, what should be the Characteristic and Class, how to create the both. Pls advise the required table and class name. Thanks Rajakumar

  • Libvirt permissions differ on upgrade

    (12/16) upgrading libvirt [--------------------------------] 100% warning: /etc/libvirt/qemu/networks/default.xml installed as /etc/libvirt/qemu/networks/default.xml.pacnew warning: directory permissions differ on /var/lib/libvirt/qemu/ filesystem: 7

  • User events vs notifiers

    I’m trying to determine which methodology to employ – Queues and Notifiers or Event Structures (and User Events).  I’m hoping that if I describe my situation, someone will offer their wisdom.  Here’s what I intend to do.  Right now, most of this has