How do I copy or delete a file in my machine in a Stored Procedure.

How do I copy or delete a file in my machine in a Stored Procedure.
UTL_FILE package can'nt do it?
thanks

write java stored procedure or pro*c program to do that

Similar Messages

  • How do I copy my old xl files from my XP machine to operate on xl for Mac on my new iMac.  When I copy them onto a stick and transfer them it automatically makes them xls files which are then corrupted when I try to open them in xl for mac

    How do I copy my old xl files from my XP machine to operate on xl for Mac on my new iMac.  When I copy them onto a stick and transfer them it automatically makes them xls files which are then corrupted when I try to open them in xl for mac

    Sorry, yes this is Microsoft Excel.  The Microsoft XP has Excel files denoted as xl, the later versions of Microsoft Excel are denoted as xls files.  The later verions of Microsoft Excel open the xl files OK, does Excel for Mac not able to do this?

  • How can I copy programs (iWorks) and files from Time Capsule to my HD manually? The problem is that the migration assistant does not recognize my backup file and the user on the TC. (If I open the TC on finder, it it there though)

    How can I copy programs (iWorks) and files from Time Capsule to my HD manually? The problem is that the migration assistant does not recognize my backup file and the user on the TC. (If I open the TC on finder, it it there though)

    How can I copy programs (iWorks) and files from Time Capsule to my HD manually? The problem is that the migration assistant does not recognize my backup file and the user on the TC. (If I open the TC on finder, it it there though)

  • Hi my question is how can I sort and delete photo files which I have had backed up multiple times? Another way how can I get rid of from the duplicate?

    Hi my question is how can I sort and delete photo files which I have had backed up multiple times? Another way how can I get rid of from the duplicate?

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    The Cloud is not a program, it is a delivery process... a program would be Photoshop or InDesign or Muse or ???

  • HT2476 How do I copy the names of files in a finder window to a text document?

    How do I copy the names of files in a finder window to a text document?

    If using Apple TextEdit Applications: Select all the files in the finder window, choose copy. Go to the TextEdit window and from the menu choose Edit then choose Paste and Match Style from the Edit drop down menu.

  • How do I copy a large MOV file from iMac to iPad?

    How do I copy a large MOV file from iMac to iPad? Thank you in advance for the help. I am connected via a USB but finder is not showing my iPad.

    Open iTunes, drag the MOV file to your library in iTunes, then sync to the iPad.

  • Defining event handlers for renaming, moving, copying and deleting of files.

    Hi every one.
    I had created a tool for InDesign CS6 written using Javascript to manipulate portions of text in nested way by marking them with small non-printing small anchored text frames contains sequenced numbers and storing these portions as snippets in a spicific folder beside the InDesign documents.
    This tool is open source and free of charge, the only this that I want from you (after downloading) as a user to feedback and as a developer to improve it and join me.
    sourceforge.net/projects/livesnippets
    My question is not about this but I want to trace when the user rename, move, copy or delete a file of these snippets or any container folder and interact according to that by reserving the links between snippet files and their instances which interspersed in InDesign documents.
    Thanks.

    Here is an example of using Bridge events… What this scrript will do if you add it to Bridge scripts… is set *all* indesign snippets in the folders you browse to… to be locked/readonly… This means that users will get an extra dialog if they want to delete the file… Finder or Bridge… You can't just rename the file Finder or Bridge… and Bridge's Batch Rename will only function if the user makes copies to new location… You could set this property using the File Object with indesign…
    #target bridge
    onDocLoaded = function( event ) {
        if ( event.object instanceof Document && event.type == 'loaded' ) {
            lockIDSnippets();
            return { handled: true };
    function lockIDSnippets() {
        var i, count, doc, thum;
        doc = app.document;
        count = doc.visibleThumbnailsLength;
        for ( var i = 0; i < count; i++ ) {
            thum = doc.visibleThumbnails[i];
            if ( /\.idms/.test( thum.spec.name ) ) {
                thum.spec.readonly = true;
    // Register event handler
    app.eventHandlers.push( { handler: onDocLoaded } );

  • Using a server side package to copy and delete flat files.

    Can anyone tell me if it is possible to copy or delete flat files using comands issued from within a PL/SQL program unit on the server. I know of the package UTL_FILE for the reading and writing of flat files.

    Malcolm,
    if you use 8i, you can create a Java class to do that for you, and call one of it's metohds from PL/SQL, see http://www.oracle.com/oramag/oracle/00-Mar/o20java.html
    null

  • How to get a list of values used in the WHERE filter of stored procedures and functions in SQL Server

    How can I get a list of values (one or more) used in the WHERE filter of stored procedures and functions in SQL Server?
    How can get a list of values as shown (highlighted) in the sample stored procedure below?
    ALTER PROC [dbo].[sp_LoanInfo_Data_Extract] AS
    SELECT   [LOAN_ACCT].PROD_DT,
                  [LOAN_ACCT].ACCT_NBR, 
                  [LOAN_NOTE2].OFCR_CD, 
                  [LOAN_NOTE1].CURR_PRIN_BAL_AMT, 
                  [LOAN_NOTE2].BR_NBR,
    INTO #Table1
    FROM
                    dbo.[LOAN_NOTE1],
                    dbo.[LOAN_NOTE2],
                    dbo.[LOAN_ACCT]
    WHERE
                    [LOAN_ACCT].PROD_DT = [LOAN_NOTE1].PROD_DT
                    and
                    [LOAN_ACCT].ACCT_NBR = [LOAN_NOTE1].ACCT_NBR
                    and
                    [LOAN_NOTE1].PROD_DT = [LOAN_NOTE2].PROD_DT
                    and
                    [LOAN_NOTE1].MSTR_ACCT_NBR = [LOAN_NOTE2].MSTR_ACCT_NBR
                    and
                    [LOAN_ACCT].PROD_DT = '2015-03-10'
                    and
                    [LOAN_ACCT].ACCT_STAT_CD IN
    ('A','D')
                    and
                    [LOAN_NOTE2].LOAN_STAT_CD IN
    ('J','Z')
    Lenfinkel

    Hi LenFinkel,
    May I know what is purpose of this requirement, as olaf said,you may parse the T-SQL code (or the execution plan), which is not that easy.
    I have noticed that the condition values in your Stored Procedure(SP) are hard coded and among them there is a date values, I believe some day you may have to alter the SP when the date expires. So why not declare 3 parameters of the SP instead hard coding?
    For multiple values paramter you can use a
    table-valued parameter. Then there's no problem getting the values.
    If you could elaborate your purpose, we may help to find better workaround.
    Eric Zhang
    TechNet Community Support

  • How can I copy the dmg installer file to a thumbdrive?

    So we purchased a new iMac. The geniuses at the apple store installed Mountain Lion using their installation software. I want a backup copy of the installation files.
    I was able to use unix/terminal to boot and display the boot disk and begin the installation process, which I intended to save to an external hard drive and copy the dmg file to a thumbdrive BEFORE the computer automatically restarted and deleted it. I even opened a microsoft word document thinking that without saving it would halt the restart process, but no. The computer restarted automatically without giving me the opportunity to copy the dmg file.
    Does anyone have any ideas? Is there a unix command to halt the restart?
    Thanks.

    What I did when I got a new Macbook Pro was to get a 16GB USB Thumb Drive (or was it 32GB) and used SuperDuper to clone the boot disk to the USB Thumb Drive.  (Carbon Copy Cloner could also be used).
    Now I have a bootable copy of my Macbook Pro while it was young and uncluttered with all my junk.  The clone  has all my extra apps, such as iPhoto, Garageband, iMove, etc... that is not part of the Mac OS X distribution, and you only get when buying a new Mac.
    When doing an upgrade, I download the new version (Lion, Mountain Lion, future "Cat"), and they quit the installer before it does anything.  Now looking in Applications, there is an "Install OS X Lion", or "Install OS X Mountain Lion", etc...  I made a copy of that app on a USB Thumb Drive or DVD.  There have also been instructions on the web about how to make this into a bootable DVD or Thumb Drive.  I have not bothered with that, as I have my above mentioned original clone I can boot from, and there is always the recovery partition I can boot from as well.
    If you wish to have the Mac boot back into the initial setup mode, you can remove the following file and reboot:
    rm /var/db/.AppleSetupDone

  • My hard driver is apparently full - but it is full of "other" files.  I have cleared downloads and removed my music and pictures, but it still thinks it is full - how do I access and delete the files?

    I am having real trouble with the mac book air and i dont know what to do.  It thinks it is full, i get warning messages every day, but when i check how the storage is being used it is 45.79 GB of "other" and I can't work out where to locate and delete these files.  I have removed all my music and pictures, there are nearly no documents on the bloody thing, i have cleared the downloads, I have run a cc cleaner programme but nothing seems to touch this "other" amount.  Its so annoying as it is getting to a point where i can't use the computer properly anymore.  Do you have any clue what it could be or how i can deal with it?
    It did this last year but not as bad, i never solved it then i just removed all my own files but now "other" is taking that space too.  On a windows computer you would be able to click through and view what was taking up the space but you can't seem to do that on a mac. could it be a virus that makes the hard driver think it is full?
    Any ideas what I can do?

    For information about the Other category in the Storage display, see this support article.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown asBackups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Reboot and it should go away.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • Is a copy of .xml file on the iPod too? If so, how can I copy ONLY the .xml file to my computer and NOT have to copy all my music files too?

    I had to re-load my OS (Windows XP Pro) from a HD snapshot via Acronis True Image Server. I save my OS on my C: drive and all my data files on my D: drive.  So when I re-loaded my OS, I still have all of my music files intact.
    I have re-loaded the OS before and had to re-create iTunes library which I did by doing the follwing:
    1. cut & paste .xml file in iTunes folder to desktop
    2. delete .itl file in iTunes folder
    3. import .xml file through iTunes  file>library>iport playlist
    4. navigate to .xml file on desktop and import
    This worked last time I re-loaded my OS but not this time for some reason.
    So I'm wondering if there is a copy of the .xml file on the iPod itself in the iPod_Control folder that I can copy and paste to my comuter desktop and import via the above steps?
    I have seen all kinds of solutions on the web that include copying the music files from the iPod to the computer.  I don't need to do that.  I have the music files.  I just need the .xml file so iTunes can talk to my iPod (5th Generation - 30G).

    Backup your music library, that is the only way to ensure it does not go missing through theft, damage, operator error, machine breaks, upgrades go wrong, operator goes wrong .........

  • How can I remove a deleted content file from my book's Table of Contents? I

    I deleted the file, saved the book, updated the book, updated the TOC references, and confirmed that the file has been deleted -- but it's still there in the TOC. How can I get it out of there? And at what point in the proceedings should it be gone from the TOC?

    > I deleted the file ....
    How? You need to delete-from-book using the Book menu. A right-click option on the component file name.
    > ... updated the book, ...
    A necessary step, but might not work if the remove isn't done correctly.
    > .... updated the TOC references ...
    What does that mean?
    I would expect a delete-from-book, followed by an update-book, would suffice.

  • How can I copy my folders or files in my Ipad?

    I'm a biginner. How can I copy on my iPad some windows files or folder?

    Start by reading the User's Guide, then maybe you'll have some relevant, intelligent questions about how to use the device.

  • How can I find and delete duplicate files in Mt Lion?

    As a competent, but self-trained mac user for 30 years, I'm totally baffled by the sudden appearance of multiple duplicate documents and .jpgs in my imac files. How can I find and delete them?

    Duplicate Annihalitor - http://brattoo.com/propaganda/ - or Decloner - http://www.pixelespressoapps.com/decloner/
    LN

Maybe you are looking for

  • Transfer Pictures from Imported Album to Camera Roll

    How much ever i search the net i havent found an answer for this problem. I seem to fall in to a vicious cycle of coming back to square one. Please help me with the following question please. 1). I am using ipad with camera connection kit for transfe

  • Sound Library Storage on External Firewire Hard Drive

    I'm planning on using the 3-drive configuration for Logic 8 -- internal system drive (500 Gig) in bay #1 for Logic install -- second internal drive in bay #2 for audio recording -- and an external firewire drive for sound library storage. I've got th

  • Receiving Against Outbound Delivery

    Hi, I need to configure AII so that it can perform receiving business step against an outbound delivery.  I tried using the Unload transaction but it seems like Unload is only meant for inbound delivery.  Is there any way that I can do this? Thanks a

  • JDeveloper or Eclipse?

    Hello, What is the preferred tool for Oracle 10g? The BPEL dev guide seems to focus mostly on the Eclipse BPEL designer. Does this mean JDeveloper will eventually go away? Thanks.

  • Importing a WAR file into WebLogic 8.1

    Hello, First post here so go easy on me :-D Is it possible to import a WAR file into WebLogic 8.1? If so, how? I have a WAR file created using Eclipse and want to test if I can take that WAR file and rebuild the project in WebLogic. Any help is appre