Need routine to auto import myfile.csv

I have a stored procedure which can import MYFILE. CSV in an oracle table.

MYFILE. CSV, comes from a 3rd party, can be put on our server from anywhere

10:00 to 15:00.

I need a routine that would check for C:\temp\myfile. CSV, say every 3 minutes.  IF the file exists, and then import file.

Then rename the file. If possible, after the file has been imported, stop the routine of checking up to tomorrow.

Myfile.CSV file may contain records up to 366.

Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

PL/SQL Release 11.2.0.3.0 - Production

"CORE 11.2.0.3.0 Production."

AMT for Linux: Version 11.2.0.3.0 - Production

NLSRTL Version 11.2.0.3.0 - Production

What is the best way to do it?

TIA

Steve42

DBMS_SCHEDULER File Watcher allows to start a workflow with two programs:

  • Program PL/SQL to import the data (see the comment by Frank on external Table)
  • external program (for example, the shell script), which moves the file

My terminology is not correct.  But it's how you do it.

MK

Tags: Database

Similar Questions

  • import a csv file into AddressBook

    I'm migrating from outlook to Thunderbird. Import all the emails and addresses does not work. So I exported by e-mail addresses from my server to a csv file. I imported the csv file into Thunderbird. I have to OK the addresses import. Is it possible to import in one click

    If you export all your contacts in a single csv file, you should be able to import the file in a single step, although you may need to edit the csv file before you do:

    https://support.Mozilla.org/en-us/questions/1012084

  • Auto Import: why LR passes the imported file to 'Auto imported photos "?

    If I put a picture in the control folder, why duplicate in another folder?  After importing, I seem to have the photo image file in two places.

    She should move (do not copy) from the folder of control to the destination folder. Can you provide a screenshot of your auto import settings?

    Also confirm your permissions of the watched and the destination folders. I bet you need read/write on the control record must be able to move because it is essentially the removal after copying. But I expect some kind of error message in this case.

  • Anyone has any experience of importing a csv file and store it in a database in MS SQL

    Anyone has any experience of importing a csv file and store it in a database MS SQL. Outside sql injection there is any another converns security?

    Draft of the steps.

    1. use to download the file from the client to the server see
    http://www.dennismiller.TV/index.cfm/2007/12/26/file-upload-using-ColdFusion-and-Flex

    2. use to read the contents of the file into a variable.

    3. perform a loop on the content of variables for each line, dealing with the variable as a list delimited by a newline rather then a comma

    4. use list functions on each line to get the data you need, and then to transmit these data to SQL with CFQUERY or CFPROCPARAM.

  • Organize imports & amp; Auto Import/class Lookup

    I worked with Flex Builder 3 now for more than a month. I like many of its features. He made so much for me in the development of AIR/ActionScript/Flex applications that there is really no other choice. However, the function "organize imports" just does not work well. The only time it works is when you declare a new variable. If you are lucky enough to hit perfectly, beautifully adds imports to no class concludes. However, if you commit a letter so as back up and type the name of the class properly, you lose your auto import. If you type your name and the class definition of the variable correctly and to think, Hey, 'I can go to the menu and choose to organize imports,' Unfortunately, you're wrong. Organize imports does nothing. Sometimes it deletes class imports that belong to the code you have temporarily put in the comments, but he never shoots anything in. In addition, if you access a static function of a class, i.e. not you declare a variable, but simply don't appeal to a class function, no import occurs at all. Organize imports does not work. You must go and type in the import of yourself. He tries to help you at this stage, but if you forget the exact place in the structure of the package, you must go to the docs to know where he is, type it in, and then you get service introspection. I love what Flex Builder done for me, but this is just lame. I used FDT for some time see if this tool would work for me, but, unfortunately, is not. It is not just to give you all the power than Flex Builder. But I never type in my import! Their helper class features work very well. I can type in a class, it lack of spelling, fix it and he catches the class. When I chose to organize imports, it works only all other language Eclipse plug-ins work. Why is this? Why am I expected to pay $ top of page for a product that is broken in one of the most simple ways? Someone take it all on that? I can't be the only frustrated... Thank you. Sorry for a pure mug shot, but I just needed to vent and wanted to know if Adobe plans to correct this obvious flaw... Or if everyone just expected this continues this way and he accepts.

    Thank you, Tanya. I posted two bugs:

    http://bugs.Adobe.com/jira/browse/FB-11571
    http://bugs.Adobe.com/jira/browse/FB-11572

  • How to import a CSV of contacts as a new list of contacts?

    How to import a CSV contact to my Thunderbird account as a separate contact list?

    Opens the address book window, select Tools-Import
    Make sure you move data to the right places to import correctly. There is a screen to allow you to do that once you enter the import process.

  • Updated at El Capitan and my mac doesn't see my camera Canon (connected via USB). Need help. Cannot import images.

    Updated at El Capitan and my mac doesn't see my camera Canon (connected via USB). Need help. Cannot import images.

    Try using using the Image Capture (in the Applications folder)?

  • Do I need to install the important updates or recommended?

    Original title: HP Pavilion Elite HPE210

    I have reinstalled Windows 7 on this desktop computer. Do I need to install the important updates or recommended?  I g6 Pavilion laptop which I reinstalled windows 7 same question but I don't update windows drivers. Who updates the drivers then?

    Yes, of course, you must do all the Important Windows updates to bring your computer up-to-date and secure.  In fact, most of these updates are patches to fix security vulnerabilities.

    Optional updates are another matter.  In fact, most of them is not good for your computer.  You need a source very knowledgeable information to guide you to choose those.

    Regarding the drivers,.

    Almost without exception, your ONLY source of drivers for your computer are on the HP support web site.  Windows Update will sometimes offer driver updates that mostly (but not always) are OK, but you should prefer the HP as your source.

    Don't get caught up in a frenzy more updates driver.  In practice, they rarely need to be looked at and then only if there is a specific problem to solve.

    NEVER, use sites to update driver on the internet.  They are virtually all the two sources of infection and/or updates bad and bad.

  • Why Lightroom empty of auto import folder?

    Why Lightroom empty auto import folder?

    This does not help me because I looking for an FTP folder receive LR files and retrieved the. You had technology just to take files, but without dump or change the (md5 is the even after importation)

    -Auto Translate (Basic language EN)-

    Why Lightroom empty the auto import folder?

    It doesn't suits me because - I am looking at what a FTP folder have files and LR to get back them. Had you a technique pour just take files but without gender or modifier of the (the md5 are no longer the same after importation)

    Ok!
    But why you changed the file LR?
    We cannot tell the source folder and destination is the same (which we can) and does not copy the files constantly identical (it is not very logical)
    Concerning

  • Why auto import does not work?

    As shown in the Panel LR file to 'auto import' is not sensible. To set up a control folder requires it to be empty, but announces that he will feel a card (which will have folders) in a location on the computer. Then the Setup program indicates the folder must be empty.

    Try to make all this work, I put an empty card in the slot and for the installer selected empty folder DCIM/100EOS7D of the card. LR who agreed that the folder is empty. Then allowing with the box in the upper part has been accepted by LR. But when I tried to eject the empty map, I got an error message that the card was in use (no other programs to use it). So I had to close and restart LR, and it can eject then OK.

    Then, I put a map with photos in the folder DCIM/100EOS7D into this slot and waited and waited. No LR reaction, which was already running (CC 6.3 on Win 7 Pro).

    I am sure I do not what is expected, but I tried over and over again in the course of the years and never managed to do work. Why don't the treat of instructions of installation using a card slot and use words that describe what will happen with the card when inserted? If it takes the installer with an empty map, say so. But I proved that is not enough, or not right in the first place.

    If anyone has this work, I'll be happy to read about a process that works. The published data are totally confused. J Kost video has nothing about it and huge book of same V Bampton just repeats the instructions from Adobe. Thanks in advance for fixing this.

    The "Watched" folder must be located in your computer system. For example. on the desktop. (Not on the camera card or a connected camera)

    You must use the operating system to do drag or copy & paste the images from the camera card to the 'Watched' folder using the software of the camera or just with Windows Explorer or the Mac Finder.

    Then when Lr is running it will take images of the "Watched" folder and import them into the catalogue and the "Destination" folder

    So "watched" folder on the hard drive of the computer. (Desktop computer is handy!)

    For anyone who uses a scanner setting up the scanner can set an output folder - this could be the "Watched" folder and each scan would be automatically added to the catalog.

  • Auto import does not

    I am a new user of Lightroom 6.2.1.  I really liked the idea of auto import and it stressed in my folder where My Eye - Fi card adds pictures from my camera when I'm within wi - fi range.  T unfortunately Idon't ever work.  I tried to create a new folder and placing the two to watch/copy of my card.  Photos are still not import.  Can anyone give advice?  Thank you!

    Thanks to you all!  After watching Lightroom 5 - organize your Images | To get started with Adobe Photoshop Lightroom 5 | Adobe TV, I understand things better.  Thanks again!

  • How can I disable auto import?

    How can I disable auto import on macbook pro?

    Auto import does not exist in PS in the bridge.

    If you get a 'auto import function' when you launch Photoshop you OS leading not PS

    Check your operating system settings.

  • I need assistance in the import of certain vectors, watercolor color chart and other creative market (step by step instructions).  Im a newbie to Illustrator and need help.

    I need assistance in the import of certain vectors, watercolor color chart and other creative market (step by step instructions).  Im a newbie to Illustrator and need help.

    Should be the subject of the file > open.  After the download.  The swatches will come with the file.

  • Auto import grayed out

    I have a new Canon 7 d Mark II, which is not supporated by Lr5 Tethered Shooting for now. Studying, I found a feature I wasn't aware, Auto Import. I have instructions on how to put in place where I that would use the EOS utility to capture and save a picture in a folder and if properly Lr Auto import would then import the image in Lr. sounds good, but turn on Auto import in the menu file is gray, everything that can be clicked auto import settings. If I click that, when the option screen opens at the top there is a checkbox to activate the automatic import who is also grayed out.

    Can someone help/make a suggestion?

    Kenn, you must initialize the parameters in the parameters dialog box. This indicates LR where to find images and how to import them. Once you fill in the parameters, the 'Enable' option will be active and you can select.

    HD ++

  • Auto Import - Initial preview STOP?

    Hi, how can I stop the initial preview jumping to the most recent image that was imported?

    My configuration is:

    Look at the record of transfer FTP via Canon WFT; Look at the folder is then auto import in Lightroom.

    I have the question because someone can work on a file in Lightroom and yet because we do event photography the Dungeon of images on arrival however, happening at the most recent image which is annoying when showing a potential client of the image.

    See you soon

    Tim

    General/preferences/Import Options, uncheck the box "select collection current/previous import when importing.

Maybe you are looking for

  • How to sort the images in the shared album

    Hello, I just realized that all my photos (including shared albums) felt "sort" the value 'keep sorted oldest first' checked and grayed out.  I can't seem to find a way to sort my photos by 'added more recent' or 'most recent on top.  Any ideas why t

  • My computer is saying error occurred when checking for updates. Code 80070424

    I did a system restore, and it does not always help. If anyone knows how to fix this problem please give me some advice.

  • Not sure of the correct driver to install,

    I ran the Trouble Shooter and came up with: Keyboard filter does not have a driver The odd pat's case of extension of the Trouble Shooting Report, it's what is displayed: So I took a peek in the Reliability Monitor and it recicevd a warning. Driver m

  • GANYMEDE + authentication and authorization on IOS XR

    Hi all I tried to connect several devices IOS - XR on our laboratory (ASR, RSG and CRS) to our server GANYMEDE + (Cisco Secure ACS, release 4.2 (0)). The objective is that the GANYMEDE would achieve authentication authorization and control the user f

  • Restore the backup from primary to the DR Server online

    HelloI'm on Oracle 10.2 and restore an online backup of the main server on server of DR. Online backup has been taken: 30.11.2015 21:00 and ends at 01.12.2015 01:23:16.The first redo log when the backup began 60588 and the last roll forward log is 60