Save the file imported into oracle directory

Hello.
I'm on a project where I need to import a CSV (imported by using app APEX 4.0.1) in a specific oracle (complete and functional) table, and then save the file imported to the server.
This part of the savings on the disk where I have my doubts.
I know that I can use utl_file to write the file to an Oracle Directory, but that I have to open the blob (file) twice: one for import to the table and the other to write to the disk - because I want to just save if the file is successfully imported.

Is there a more direct way to do this?

Thank you
vssantos

NO, you could use an external program to C and then to write a wrapper for an Oracle to store the BLOB in an Oracle Directory. : http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:6379798216275

Thank you

Tony Miller
Webster, TX

Time passes fast like the wind, but the flies from fruits such as bananas.

If you answer this question, please mark the thread as closed and give points where won...

Tags: Database

Similar Questions

  • "Save image under" has changed, without memory of the choice of folder, save the file invisible name, options does not help.

    General options "always ask me where to save files. I seem to get the other option - save the file in (a specific directory) option is selected. Perhaps there is an automatic update of Firefox? The problem started there around the time that Qt Creator, I installed a few days.

    The fixed! Uninstalled windows 7/24 update and restarted. One may wonder what is happening to the Mircosoft to shoot their software in the foot like that?

  • Adding 3d object to the w3d (imported into director of 3ds MAX file)

    How can I add 3d object to the w3d (imported into the Director of 3ds MAX)
    For example I have the building model in w3d file, I import it into the Director! After I want to load files w3d with furniture and place it where needed in the building. Maybe someone can offer another way to get the result. Sorry for my bad English! :-)

    Quote:
    Posted by: newsgroup user
    Read the docs for loadFile() and cloneModelFromCastMember() orders

    Thank you! I read the docs about it - here's what I need!

  • Qosmio F20-136: scanned TV guide channel - save the file so you can recharge?

    I have a Qosmio F20 - 136 running XP Media Center. My question is does anyone know the name of the file that has the channels scanned so that if I do a re scan and don't get all channels from the list, because of my reception antenna I can re - load the file on the system with a complete list?

    What happens, if I make a new analysis of the channels of television at home I don't get that nearly 20 tv channels, but if I take the laptop to work, where I guess it's a better reception from the transmitter, I travel 35 channels found. I would like to save the file when its 35 channels scanned and have the opportunity to replace it in the directory, if I do a re scan at home.

    Thank you.

    Hello Mike

    Your validation list is very impressive and you should be an expert Qosmio. ;)
    I have F20 too and I also noticed that I can't watch all the channels available on cable TELEVISION here at home.

    Have you already found something interesting about it?

  • Save the file on the user's desktop

    Hi all, just a simple question (I hope!)

    I am writing a program and I want to save the file .txt output to the office. Of couse, different computers will have on their desktop to different directory paths (for example C:/Documents and Settings/Bob/Desktop - the user name will be different in all cases).

    Is there a specific command that you can use to specify what system you are looking for the office, regardless of the rest of the path of the directory? If it makes no sense at all.

    Thank you!

    Yes.Use get the system directory in a file i/o under file constants.

  • Save the file automatically in a default folder

    Hello

    I have a problem with the selection of a default directory to save the file (write on the worksheet). I want WriteToSpreadsheet automatically as a NEW FILE without inviting the user to click on the Ok button every time on "save file as" dialog box.

    Please find the attached photo to find the code.

    Analogy: I just want the program automatically save the file with a new file name each loop without pop up a dialog to the user to confirm the action.

    Thank you!

    Aerts

    Well, you already have the constant where he must go by default data.  You can just use it.

    Another option would be to create a Subvi to only call the file dialog box when the first call and record the path of the folder in feedback.  Then the selected folder has only one in need first.

    Probably the best option would be to have the user to select the folder where the program for the first time and this way through the while loop.

  • why I can't download and save the files to my laptop... it disappears in the air... I have windows vista and ie8... Please help I'm going crazy... this laptop is my tool work... thank you. __

    why I can't download and save the files to my laptop... it disappears in the air... I have windows vista and ie8... Please help I'm going crazy... this laptop is my work tool... Thank you.

    Hello locness2411,

    Have you checked your download folder? Also you can put where you want to save a file to the desktop as, for example. Take a look at these links: http://www.tweaklibrary.com/Software_Applications/Internet-Explorer/27/Set-default-download-path-of-Internet-Explorer/10153/ or http://www.windowsreference.com/internet-explorer/how-to-change-the-default-download-directory-for-internet-explorer/ that can help you in what you want to change. Hope this helps you. Let us know anyway. Make it a great day!

    "And in the end the love you take, is equal to The Love You Make" (The Beatles last song from their latest album, Abbey Road.)

  • It cannot remove the files imported in Media Center in Windows 7 Media Center!

    Today, I created folders Win 7 Media Center of Vista Media Center in the hope of being able to watch some TV recorded in Win 7. Does not work and more than 1000 files and folders cases imported into Vista. I have the ability to delete "existing" files in the Vista Media Center. All imported records do not give me the option to right-click and delete! Help!

    Hi stur2009,

    Method 1: You can delete these folders to be monitored by Windows Media Center. To do this, follow the steps below

    (a) on the Windows Media Center start screen, navigate to tasks, and then click settings.

    (b) select the library configuration.

    (c) select stop watching a folder , and then select Next.

    (d) uncheck the folders you want Windows Media Center to stop watching, and select Next.

    (e) in the next screen, select Finish .

    Method 2: You can manually delete the files imported from the original location on the Windows Vista-based computer.

    You can see the article below, which deals with a similar question

    A multimedia file or its content remains in the media library after you select the option to stop to look at the record in Windows Media Center in Windows Vista

    http://support.Microsoft.com/kb/940161/en-us

    Thanks and greetings

    Ajay K

    Microsoft Answers Support Engineer
    ---------------------------------------------------------------------------------------------------------
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • (webutil) How to save the file in a specific way?

    Hello

    I have this part of the code
    Arglist := OLE2.Create_Arglist;
      OLE2.Add_Arg(Arglist,'c:\Export.xls');
      OLE2.Invoke(workbook, 'SaveAs', Arglist);
      OLE2.Destroy_Arglist(Arglist);
      -- release workbook
      OLE2.Release_Obj(workbook);
      OLE2.Release_Obj(workbooks);
      OLE2.Release_Obj(application);
    who saves the excel C:\Export.xls file. I tried to open a file save dialog box, with
    BEGIN
               
      file_name_cl := CLIENT_GET_FILE_NAME('C:\Export', 'ExportExcel.xls', 'XLS Files (.xls)|*.xls|', NULL, SAVE_FILE, TRUE);
      file_name_cl := SUBSTR(file_name_cl,1,LENGTH(file_name_cl));
      --
      IF file_name_cl IS NULL THEN
         MESSAGE('INSIDE EXCEPTION STATEMENT');
         RAISE user_cancel;
      END IF;
    {code]
    
    But the file isn't saved. Why?
    
    So here is all the code
    PROCEDURE export_din_datablock (p_block varchar2) is

    REQUEST OLE2. OBJ_TYPE;
    WORKBOOKS OLE2. OBJ_TYPE;
    WORKBOOK OLE2. OBJ_TYPE;
    SPREADSHEETS OLE2. OBJ_TYPE;
    WORKSHEET OLE2. OBJ_TYPE;
    Arglist OLE2. LIST_TYPE;
    CELL OLE2. OBJ_TYPE;
    J INTEGER;
    INTEGER K;
    file_name_cl VARCHAR2 (32767).
    USER_CANCEL EXCEPTION;
    Workfont OLE2. OBJ_TYPE;
    WorkInterior OLE2. OBJ_TYPE;
    m_item varchar2 (40);
    m_tot_columns number: = 0;
    LC$ target Varchar2 (256): = "text.xls";
    LC$ Fic Varchar2 (256);

    -Inner Proc.
    Procedure put_cell (number of no_lig,
    Number of Col_num,
    put_value varchar2,
    FONT_NAME varchar2 default null,
    font_size directory by default null,
    font_style varchar2 default null, - we can use pune "BOLD" pentru "BOLD", "ITALIC" pentru italics, etc.
    font_color directory by default null) is
    Begin
    Arglist: = OLE2.create_arglist;
    OLE2.add_arg (arglist, row_num);
    OLE2.add_arg (arglist, col_num);
    cell: = OLE2.get_obj_property (Worksheet, 'Cells', Arglist);
    OLE2.destroy_arglist (arglist);
    OLE2.set_property (Cell, 'Value', put_value);

    Workfont: = OLE2.get_obj_property (cell, 'Make');
    WorkInterior: = OLE2.get_obj_property (cell, 'Interior');
    If font_name is not null then
    OLE2.set_property (Workfont, 'Name', FONT_NAME);
    End if;
    If font_size is not null then
    OLE2.set_property (Workfont, 'Size', font_size);
    End if;
    If font_style is not null then
    OLE2.set_property (Workfont, font_style, 1);
    End if;
    If font_color is not null then
    OLE2.set_property (Workfont, font_color 'ColorIndex');
    End if;
    OLE2.release_obj (workfont);
    OLE2.release_obj (workinterior);
    OLE2.release_obj (cell);
    End;


    BEGIN

    file_name_cl: = CLIENT_GET_FILE_NAME ('C:\Export', 'ExportExcel.xls', ' file XLS (.xls) | * .xls |', NULL, SAVE_FILE, TRUE);
    file_name_cl: = SUBSTR (file_name_cl, 1, LENGTH (file_name_cl));
    --
    IF file_name_cl IS NULL THEN
    MESSAGE ("INSIDE THE EXCEPTION STATEMENT");
    RAISE user_cancel;
    END IF;

    APPLICATION: = OLE2. CREATE_OBJ ('Excel.Application');
    OLE2. SET_PROPERTY (application, 'Visible', true);

    WORKBOOKS: = OLE2. GET_OBJ_PROPERTY (APPLICATION, 'NOTEBOOKS');
    WORKBOOK: = OLE2. INVOKE_OBJ (WORKBOOKS, "ADD");
    WORKSHEETS: = OLE2. GET_OBJ_PROPERTY (WORKBOOK, 'WORKSHEETS');
    WORKSHEET: = OLE2. INVOKE_OBJ (SPREADSHEETS, "ADD");
    OLE2.set_property (spreadsheet, 'Name', 'leaf-ul meu');

    GO_BLOCK (p_block);
    PREMIER_ENREGISTREMENT;
    -prima linie dedicated numelui sunt; pe linia incep 2.
    J: = 2;
    K: = 1;
    LOOP
    m_item: = get_block_property (p_block, first_item);
    K: = 1;
    Loop
    exit in M_ITEM IS NULL;
    If not id_null (find_item (p_block |'.)) ' || m_item)) then
    -daca point-urile sunt type specificat (+ eventual alte conditii), atunci to export data din ele
    If get_item_property (p_block |'.) ' || m_item, item_type) IN ('ELEMENT of TEXT', 'VIEW ARTICLES', 'LIST', 'CHECKBOX')
    and get_item_property (p_block |'.) ' || m_item, visible) = "TRUE" then
    If j = 2 then
    -preiau dinamic name if sunt afisez pe linia 1, cu "BOLD"
    put_cell (1, k, get_item_property (p_block |'.)) ' || m_item, column_name), null, null, 'FAT');
    end if;
    If not name_in (p_block |'.) ' || m_item) is NULL then
    -data afisez
    put_cell (j, k, name_in (p_block |'.)) ' || m_item));
    End If;
    K: = k + 1;
    end if;
    end if;
    -merg urmatoarea inregistrare
    m_item: = get_item_property (p_block |'.) ' || m_item, NEXTITEM);
    END LOOP;
    J: = J + 1;
    When the output: system.last_record = "TRUE";
    NEXT_RECORD;
    END LOOP;
    OLE2. Release_Obj (Worksheet);
    OLE2. Release_Obj (Worksheets);
    -Save the created Excel file
    Arglist: = OLE2. Create_Arglist;
    OLE2. Add_Arg (arglist, 'c:\export.xls');
    OLE2. Invoke (Binder, 'SaveAs', Arglist);
    OLE2. Destroy_Arglist (arglist);
    -Release of workbook
    OLE2. Release_Obj (Workbook);
    OLE2. Release_Obj (Workbooks);
    OLE2. Release_Obj (application);
    MESSAGE ("Export cu success!'");
    END;
    Please help.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    Roger

    Not to be confused... YOU read my previous POST.

    Also answer me...
    How do you want to save the file?
    1. replace or add to the file in the folder?
    2. create a new file in the folder?

    If you answer is first, change your code in a more dynamic way

    -Save the opened Excel file
    rglist: = OLE2. Create_Arglist;
    OLE2. Add_Arg (arglist, file_name_cl);
    OLE2. Invoke (Binder, 'SaveAs', Arglist);
    OLE2. Destroy_Arglist (arglist);

    So then you can give it

    -Save the created Excel file
    rglist: = OLE2. Create_Arglist;
    OLE2. Add_Arg(arglist,'c:\export\newexcelexport.xls');
    OLE2. Invoke (Binder, 'SaveAs', Arglist);
    OLE2. Destroy_Arglist (arglist);
    Your file will be saved in the "C:\export\" a folder with the name newexcelexport

  • Why the highlighting of text in a PDF document does not work after you save the file

    Why the highlighting of text in a PDF document does not work after you save the file

    What application you use to highlight?

  • where to save the files under options the file name is duplicated how to remove an additional folder with the same name

    Under Options in Firefox, I clicked on save the files under downloads, but the file name twice and an additional file with the same name is created in the folder, i.e.:

    G:\Akbar's Songs\HAMARA DOWNLOADS\HAMARA FORUMS DOWNLOADS FORUMS

    As you can see the file repeats, how can I fix it?

    Also the music files, I download from a site of downloads as a WinRar file and I need to open it. Y at - it an option where the file opens automatically in the folder I chose?

    Thanks a lot for your help.

    Hi Akush, when you install 7 - zip, make itself the default application to open .zip and .rar files. So if you double click on the .rar file, it should open in 7 - zip. If you prefer to decompress immediately, right click the file and look for new 7 - zip items in the menu. I can't think of a way to do this automatically, however.

  • How to stop Firefox playing mp3 files and allow me to save the file

    I've upgraded to Firefox v28. I want to record an mp3 file to play later as earlier versions of Firefox. When I click on the file, it starts playing and does not give me the option to save the file.
    In the Options, the settings of 'application' for the file MP3 is on "save file". The quicktime plugin is disabled.
    The media.windows - media - foundation.enabled is set to false in: config
    How can I restore Firefox behavior to be like the older versions
    Thank you

    That fixed it! Thank you!

  • Firefox 19 may allow installation of software from web sites, or must there always save the files on your computer first

    Firefox 19 may allow installation of software from web sites, or must there always save the files on your computer first

    You must save the files on your computer before running them.

    In this way your security software can scan the file to see if it is safe.

  • I can't download Firefox. When I hit the download button the pop-up box asking me if I want to open or save the file disappears without me click an option.

    I tried to download Firefox without success.
    I hit the download button and, normally, a pop-up window appears asking me to open or save the file. An empty box appears briefly and then disappears.
    The problem may be with Internet Explorer 6.
    However, I tried to update to IE 8 and the same problem above occurs on the Microsoft Web site.
    I think that there is a little lack of IE 6.
    Any ideas?
    Thank you
    Sandra

    Thank you.
    In the end I had someone send me the file installation and it worked.
    Thanks for your time.

  • I want to import bookmarks from Safari on same Mac computer. Said Firefox Help Bar Menu/file/import. My Firefox doesn't have the file/import option. How to import bookmarks from Safari to Firefox?

    I want to import bookmarks from Safari on the same Mac computer. Firefox
    Aide said use bar Menu/file/import.
    My Firefox doesn't have the file/import option.
    How to import bookmarks from Safari to Firefox?

    10.2 Firefox on Lion does not import and backup under Show all bookmarks or the file import wizard and the option to import during the installation of Firefox did not work. Private browsing is not on. How to import bookmarks?

Maybe you are looking for

  • AutoScale when there are two axes

    Hello: I use a TDMS drive to attract many plots of very different sectors. I'd like to autoscale for y-axis programmatically set properties using first and second y axis, but I can't find this well able to recognize my first or second axis. Just usin

  • OfficeJet 150 Mobile - my wireless printer does not print!

    Hello Never had any problems with this before, always printed first time time I configured everything. Now, nothing. Bluetooth is definitely the two computer laptop & printer - but it does not print anything! Impossible to find any other troubleshoot

  • Problems with endpoint Windows Audio and Audio service

    My PC decided that the copy of Windows 7 was no stay true even if he was. I had to go through several different solutions to correct this, but by train to try, I tried to use "performance issues" under the control panel > everything on the control pa

  • nvspcap.dll missing on the computer.

    good day I opened my PC and got this mssg. ... There was a problem starting C:\Windows\system32\nvspcap.dll. The specified module could not be found. I watch sys32 and really nvspcap.dll was missing.can someone help me pls...What will I do to fix thi

  • Loading playbook photo library?

    Is it possible that my app to load in an image of playbooks image library? If so, how to implement? Thank you