Blob delete and reuse

Hi All,
I am successfully able to delete just the blob file from a record but after this operation, I am not able to upload new file to the same record. Wanted to know if this is possible and if so how.
I am using this query for deleting blob:
update table set blob_column = EMPTY_BLOB(), blob_filename = NULL, blob_mime = NULL, blob_lastupdate_date = NULL where id = 12;
Thanks in advance.
Medha

Hello,
I am not able to upload new file to the same record. Why? What error are you getting?
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.sumneva.com (formerly http://www.apex-evangelists.com)
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

Similar Messages

  • Problem about Asset Deletion and Blocking

    Hi Gurus:
    I want to know what difference is between deletion and blocking of fixed asset? Please give me some more information, thanks!

    Hi,
    Please refer to the following explanation:
    Asset blocking: Set the blocking indicator in the asset master record. Once the blocking indicator is set, you can no longer post acquisitions to this asset. The idea behind this, for example, is to prevent future postings to an asset under construction once the project is complete. After approval, the asset can be unblocked and reuse it again.
    Asset deletion: You can delete an asset master record to which no postings have been made, directly online, without archiving. In addition, it is also possible to manually delete old assets (legacy assets from your previous system) during the asset data transfer process.
    Hope can help you!
    Regards
    Tao

  • Since applying Feb 2013 Sharepoint 2010 CUs - Critical event log entries for Blob cache and missing images

    Hi,
    Since applying the February 2013 SharePoint 2010 updates, we are getting lots of entries in our event logs along the following:
    Content Management     Publishing Cache         
    5538     Critical 
    An error occurred in the blob cache.  The exception message was 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)’
    In pretty much all of these cases the image/ file in question that is reported in the ULS logs as missing is not actually in the collaboration site, master page / html etc so the fix needs to go back to the site owner to make the correction to avoid
    the 404 (if they make it!). This has only started happening, I believe since feb 2013 sp2010 cumulative updates updates
    I didn’t see this mentioned as a change / in the Fix list of the February updates. i.e. it flags up a critical error in our event logs. So with a lot of sites and a lot of missing images your event log can quickly fill up.
    Obviously you can suppress them in the monitoring -> web content management ->publishing cache = none & none which is not ideal.
    So my question is... are others seeing this and was a change made by Microsoft to flag a 404 missing image / file up a critical error in event log when blob cache is enabled?
    If i log this with MS they will just say, you need to fix it up the missing files in the site but would be nice to know this had changed prior! I also deleted and recreated the blob cache and this made no diffference
    thanks
    Brad

    I'm facing the same error on our SharePoint 2013 farm. We are on Aug 2013 CU and if the Dec CU (which is supposed to be the latest) doesn't solve it then what else could be done.
    Some users started getting the message "Server is busy now try again later" with a corelation id. I looked up ULS with that corelation id and found these two errors in addition to hundreds of "Micro Trace Tags (none)" and "forced
    due to logging gap":
    "GetFileFromUrl: FileNotFoundException when attempting get file Url /favicon.ico The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"
    "Error in blob cache. System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"
    "Unable to cache URL /FAVICON.ICO.  File was not found" 
    Looks like this is a bug and MS hasn't fixed it in Dec CU..
    "The opinions expressed here represent my own and not those of anybody else"

  • Editing and reusing clips

    I want to take small clips from some of my videos and reuse them on new projects, but in order to do that I need to edit the videos down to seperate clips. That's not the issue of it, I can cut the clips of the videos I want to use just fine through editing. The only error is that I'm editing them on a seperate project.
    Once I take the clips from one video and delete the parts I no longer need, I'm not sure how to save them as seperate clips to use on the new project as Project Assets.
    I was hoping to save each piece to my desktop seperatly, and hopefully importing them into the organizer one at a time. I'm looking through the online manual for a solution, but if someone can give me some instructions directly, it'd be a great help. Thanks.
    I have Adobe Premiere Elements 12, if that helps figure out the solution in any way.
    -Zeke

    Electric Blitz
    Answer will depend on whether SD or HD project clips are to be exported and what the project settings are.
    If you have an SD project, you might export your Timeline content as DV AVI standard or widescreen
    Publish+Share/Computer/AVI with preset for DV NTSC Standard or DV NTSC Widescreen or the PAL counterparts.
    maybe
    Publish+Share/Computer/AVCHD with preset MP4 - NTSC DV Standard or MP4 - NTSC Widescreen or the PAL counterparts.
    If you had a HD project, you might export your Timeline content as
    Publish+Share/Computer/AVCHD with preset MP4 - H.264 1920 x 1080p30 or its PAL countepart or M2T 1920 x 1080i30 or its PAL counterpart.
    With more details, we could fine tune the information.
    ATR

  • Iv downloaded the 0845 wizard from the App Store. Registered my details and it has been working. But for some reason it won't let me log in and keep saying failed every time I try to use it. Iv deleted and re-downloaded the app and it still says the same?

    Iv downloaded the 0845 wizard from the App Store. Registered my details and it has been working. But for some reason it won't let me log in and keep saying failed every time I try to use it. Iv deleted and re-downloaded the app and it still says the same?

    I would say to start by looking on their web site... unfortunately, that appears to be dead.
    Based on the horrible ratings on the App Store (1 star for the current version), I'm not surprised it doesn't work well.

  • My itunes will not work at all. i have deleted and reinstalled in over ten times, i have ended the process, i have reinstalled quicktime i few times, i have deleted many folders. What else can i do? Please help:(

    My itunes will not work at all. i have deleted and reinstalled in over ten times, i have ended the process, i have reinstalled quicktime i few times, i have deleted many folders such as TEMP, itunes helper et What else can i do? Please help:(

    Now it sometimes keeps coming up and working but once i plug an ipod in it freezes my whole computer up and no i dont get any response from itunes at all

  • I have the iPhone 4, and yesterday I synced my photos onto iTunes, but now I have albums on my phone that cannot be deleted, and there is not an option to delete the items in the albums individually... How do I get rid of these unwanted albums? Windows 7

    I have the iPhone 4, and yesterday I synced my photos onto iTunes, but now I have albums on my phone that cannot be deleted, and there is not an option to delete the items in the albums individually... How do I get rid of these unwanted albums? Using Windows 7.

    If you used iTunes to get the photos on the phone, then use the same iTunes and uncheck the music you don't want and do another sync.

  • When I plug my iPhone in to my computer, iTunes doesn't recognize it as a device.  I have deleted and re-downloaded iTunes twice which seems to fix the problem temporarily but then the next time, the device is not recognized.

    when I plug my iPhone in to my computer, iTunes doesn't recognize it as a device.  I have deleted and re-downloaded iTunes twice which seems to fix the problem temporarily but then the next time I plug my phone in, the device is not recognized.

    What happens if you go to iTunes > File > Devices, do you get the option to Sync iPhone?
    You could try a reinstall of iTunes. OS X Yosemite: Reinstall apps that came with your Mac

  • NFS Commnication channel errors for deleting and placing

    Hi All,
    I was trying File to file scenario.
    I am picking the file from App server(AL11) using NFS Adapter and the processing Mode is Delete
    In comm channel monitor it showing an error as
    Sender channel error:
    Error: File '/staging/INTERFACE/SAP/ca/kar370.txt' - deleting after processing failed
    Same way while placing the file
    Receiver channel error:
    Error: Message processing failed: FileNotFoundException: /staging/INTERFACE/SAP/ca/test120110906-122051-980.txt (Permission denied)
    Whether i dont have the permission to delete and place the file from and to the App server(AL11)?
    What is the procedure in order to make it possible.
    Thanks
    Sai

    Hi All,
    Thanks to every one.
    The problem is solved ,
    Basis Guy has given the permissions, and i am able to place and delete the files .
    Thanks
    Sai

  • I have 2 email addresses set up on my iphone 5, 1 can send mail and the other can't... have tried deleting and adding the account, no luck, have tried all suggestions... anyone help?

    I have recently purchased the iphone 5S and have two AOL email accounts set up on it. They could both receive and send mail on the first day, but from the second day only 1 can send mail (both still receive). I get an message saying "Unable to send mail. A copy has been placed in your Outbox. Sending the message content to the server failed." This has been the response now for 3 days and suddenly this morning, I was able to send an email from this account, but only the one and now it's back to that same message. I have deleted and added the account again, using various methods. I even reset my phone and set it all up again from beginning with no luck. It is very frustrating and I am unsure why I can't send from both accounts, especially being that they are the same provider. I have read forums and it appears many have this same problem and I wondered if anyone has had it recently on this phone and how they fixed it. Someone said just use the AOL app to send from this account, yes that can be done, but it's inconvenient having to sign in all the time when i have a mail app that should work automatically. Any suggestions would be welcomed!!

    I am not sure if this issue is going to help you but lets give it a try.
    I know that where im from, which is the Netherlands, I am not able to sent e-mails from my iPhone or any other mobile device by using 3G or a random WIFI acces point. The provider only allowes you to sent e-mails when you are connected to a network of there own. Which means if you have provider "101" and your email settings are set up for this provider in your iPhone but your using the network of a friend of yours which is provider "202" you cannot sent emails from his network. Though you can receive them you may not sent.
    As I said, I am not aware if this issue is the same for you totaly depents on the country and provider your using.

  • File.delete() and File.deleteOnExit() doesn't work consistently..

    I am seeing some odd behavior with trying to delete files that were opened. Usually just doing new File("file.txt").delete() would work. However, in this case, I have created an input stream to the file, read it in, saved it to another location (copied it), and now I am trying to delete it.
    The odd thing is, in my simple application, the user can work with one file at a time, but I move "processed" files to a lower pane in a swing app. When they exit it, it then archives all the files in that lower pane. Usually every file but the last one opened deletes. However, I have seen odd behavior where by some files don't delete, sometimes all of them wont delete. I tried the deleteOnExit() call which to me should be done by the JVM after it has released all objects such that they don't matter and the JVM ignores any object refs and directly makes a call (through JNI perhaps) to the underlying OS to delete the file. This doesn't work either.
    I am at a loss as to why sometimes some files delete, and other times they don't. In my processing code, I always close the input stream and set its variable to null. So I am not sure how it is possible a reference could still be held to the object representing the file on disk.

    and then, in the other class
      public int cdplayerINIToMMCD(File aDatabase, String thePassword) throws IllegalArgumentException {
         /*---------DATA---------*/
         String dbLogin, dbPassword;
         JFileChooser fc;
         INIFileFilter ff;
         int dialogReturnVal;
         String nameChosen;
         File INIFile;
         ProgressMonitor progressMonitor;
         BufferedReader inFileStream;
         String oneLine;
         int totalLines = 0;
         int linesParsed = 0;
         boolean openDBResult;
         int hasPassword;
         if ((aDatabase == null) || (!aDatabase.exists()) ||
            (FileManagement.verifyMMCD(aDatabase) == FileManagement.VERIFY_FAILED)) {
            throw new IllegalArgumentException();       
         else { 
            currentDB = aDatabase;
            if(thePassword == null) {
              dbPassword = "";
            else { dbPassword = thePassword; }
            dbLogin = dbPassword; //For MSAccess dbLogin == dbPassword
         //Ask the user for the cdplayer.ini file.
         //Create a file chooser
         if (System.getProperty("os.name").indexOf("Windows") > -1) {
            fc = new JFileChooser("C:\\Windows");
         else {
            fc = new JFileChooser();     
         fc.setMultiSelectionEnabled(false);
         fc.setDragEnabled(false);
         //Create a new FileFilter
         ff = new INIFileFilter();
         //Add this filter to our File chooser.
         fc.addChoosableFileFilter(ff);
         fc.setFileFilter(ff);
         //Ask the user to locate it.
         do {
            dialogReturnVal = fc.showOpenDialog(mainFrame);
            if (dialogReturnVal == JFileChooser.APPROVE_OPTION) {
               nameChosen = fc.getSelectedFile().getAbsolutePath();
               if(nameChosen.toLowerCase().endsWith(INIFileFilter.FILE_TYPE)) { INIFile=new File(nameChosen); }
               else { INIFile = new File(nameChosen+INIFileFilter.FILE_TYPE); }
               if (!INIFile.exists()) {
                  continue; //If the name specified does not exist, ask again.
               else { break; }
            else { //User clicked cancel in the open dialog.
               //Ignore what we've done so far.
               return(IMPORT_ABORTED);
         } while(true); //Keep asking until cancelled or a valid file is specified.
         //Determine how many lines will be parsed.
         try {
           //Open the INI for counting
           inFileStream = new BufferedReader(new InputStreamReader(new FileInputStream(INIFile)));
           while ((inFileStream.readLine()) != null) {
               totalLines++;
           //Close the INI file.
           inFileStream.close();
         } catch (IOException ex) { return(IMPORT_FAILED); }
         //Make a progress monitor that will show progress while importing.
         progressMonitor = new ProgressMonitor(mainFrame, "Importing file","", 0, totalLines);
         progressMonitor.setProgress(0);
         progressMonitor.setMillisToPopup(100);
         progressMonitor.setMillisToDecideToPopup(1);
         //Make our DatabaseHandler to insert results to the database.
         dbh = new DatabaseHandler();
         //Open the database connection.
         do {
           try {
              openDBResult = dbh.openDBConnection(currentDB, dbLogin, dbPassword);
           } catch(JDBCException ex) { return(IMPORT_JDBC_ERROR); } //OUCH! can't write anything.
             catch(SQLException ex) {
                 openDBResult = DatabaseHandler.OPNCN_FAILED;
                 //Can not open the database. Is it password protected?
                 hasPassword = JOptionPane.showConfirmDialog(mainFrame, "Could not open the database. "+
                                                "The password is wrong or you have not specified it.\n"+
                           "Do you want to enter one now?", "New password?", JOptionPane.YES_NO_OPTION);
                if (hasPassword == MMCDCatalog.DLG_OPTN_YES) {
                   dbPassword = JOptionPane.showInputDialog(mainFrame, "Please enter your "+
                                                              "password for the DataBase:");
                    dbLogin = dbPassword; //For MSAccess, login == password                                                    
                //If the password wasn't the problem, then we can't help it.
                else { return(IMPORT_FAILED); }
         } while(openDBResult != DatabaseHandler.OPNCN_OK); //If it is OK, no exception thrown.
         //Import the ini file
         try {
            //Open the INI file for parsing.
            inFileStream = new BufferedReader(new InputStreamReader(new FileInputStream(INIFile)));
            //Read and parse the INI file. Save entries once parsed.
            while ((oneLine = inFileStream.readLine()) != null) {
               parseLine(oneLine);
               linesParsed++;
               progressMonitor.setNote("Entries imported so far: "+entriesImported);
               progressMonitor.setProgress(linesParsed);
               if ((progressMonitor.isCanceled()) || (linesParsed == progressMonitor.getMaximum())) {
                  progressMonitor.close();
                  break;
            //Close the INI file.
            inFileStream.close();
         } catch (IOException ex) {
              //Make absolutely sure the progressMonitor has disappeared
                progressMonitor.close();
                if (dbh.closeDBConnection() != DatabaseHandler.CLSCN_OK) {
                 JOptionPane.showMessageDialog(mainFrame, "Error while reading the INI file.\n"+
                    "Error while attempting to close the database", "Error", JOptionPane.INFORMATION_MESSAGE);
              else {
                 JOptionPane.showMessageDialog(mainFrame, "Error while reading the INI file.",
                                                    "Error", JOptionPane.INFORMATION_MESSAGE);     
                return(IMPORT_FAILED);
         //Make absolutely sure the progressMonitor has disappeared
         progressMonitor.close();
         //Close the database connection
         if (dbh.closeDBConnection() != DatabaseHandler.CLSCN_OK) {
            JOptionPane.showMessageDialog(mainFrame, "Error while closing the database after import.",
                                          "Error", JOptionPane.INFORMATION_MESSAGE);
         //Did the user cancel?
         if (totalLines != linesParsed) {
            return(IMPORT_ABORTED);     
         //Success!
         //Everything ok. Return the number of entries imported.
         return(entriesImported);
      }

  • Delete and close gap problem

    I have 2 project s  on 1 [delete and close gap] no work why?    on  premiere element 12

    djvalente
    What computer operating system is your Premiere Elements 12 running on? Have you updated 12 to the 12.1 Update using an opened project's Help Menu/Update? If not, please do so.
    For your immediate issue...
    Whether or not the command Delete and Close Gap works is typically dependent on the content above and below the
    spot where you want to delete and close gap. Manual closing of the gap (with care) with the mouse cursor may be your way.
    Please review the following details on how the Delete and Close Gap command can fail.
    ATR Premiere Elements Troubleshooting: PE: Delete and Close Gap Failures
    If you have any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • My macbook's safari wont open. At first it got deleted and so i got it back by bluetooth and now t wont open because of the update. Any ideas on how to update it or get safari back? it got deleted :/

    my macbook's safari wont open. At first it got deleted and so i got it back by bluetooth and now it wont open because of the version of mac OS X update. Any ideas on how to update it or get safari on my mac? It got completly deleted i checked everywhere including applications but its gone. it got deleted :/

    Here it is : Safari 5.0.6 for Leopard

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • How to delete and edit particular line in a file and save it in same file ?

    Hi,
    I want to delete and edit text at particular line in a file.
    But edit and delete should reflect in same file.
    I have done googling for this but it results with using another file, that i dont want as i need to save changes in same file.
    How can i do this?
    Thanks in advance
    Edited by: vj_victor on May 24, 2010 3:33 PM

    I just want to make sure, this is the only way to do what i mentioned ? or it could be done another way !a) write the data to a new file
    b) delete the old file
    c) write the data to a newer file
    d) delete the new file
    e) rename the newer file to the old file name.
    For a hint about still more ways to do this, search for the complete lyrics of One man went to mow, Went to mow a meadow...
    db

Maybe you are looking for