Import a txt file from a location into the table through toad

Hi,
I have a location which is mounted on my oracle database.
i have made one directory of that location.
I need to load one .txt file present on that mapped location with the help of toad.
My delimiter is ' | ' .
Please help me out.
Thanks

The environment you described (and your intensions if I got it right) seems to call for a solution using External Tables (see Managing Tables)
You shouldn't have any problems using TOAD.
Regards
Etbin

Similar Messages

  • Import an FLV file from Adobe Connect into Premiere Elements 12?

    The Adobe Connect support staff recommended that we use Adobe Premiere Elements to edit the FLV file that we exported out of their software.  We purchased Adobe Premiere Elements 12 based on that advice.  Now we see that FLV files are not on the list of supported import files. 
    How can I import an FLV file from Adobe Connect into Adobe Premiere Elements 12 for editing?

    Welcome to the forum.
    Over the years, I have used Moyea's Flash Importer plug-in for PrPro, and it has worked perfectly. With about PrPro CS 4, IIRC, Adobe did add an FLV Importer, so Moyea began to suspend development of that plug-in. Then, with the release of the CC version of PrPro, they dropped FLV completely.
    Now, Moyea does have other programs, but I do not know if any of them are plug-ins for PrE. However, many of their programs can create, edit and output FLV.
    There is also a (free, if memory serves) FLV converter, FLV to AVI, which I used to convert FLV files, before I discovered the Moyea plug-in for my PrPro.
    I would look into Moyea, to see if there is anything, that will work as a plug-in to PrE, http://www.video-to-flash.com/products/, and if not, explore a program, such as FLV to AVI: http://www.pazera-software.com/products/flv-to-avi-converter/
    Good luck,
    Hunt

  • When I try to import files from iMac HDD into the event, it fails. FCPX dosn't see this files for import. Files are *.m2ts and *.mpg. Should I buy plagin Quicktime component MPEG-2 to resolve a problem?

    When I try to import files from iMac HDD into the event, it fails. FCPX dosn't see this files for import. Files are *.m2ts and *.mpg. Should I buy plagin Quicktime component MPEG-2 to resolve a problem?

    no you should transcode those files into an format that os suitable for editing. Like proRez. Although you might need some Flip4Mac or perian or something to do the conversion.
    adam

  • Error while reading excel file from application server into internal table.

    Hi experts,
    My requirement is to read an excel file from application server into internal table.
    Hence I have created an excel file fm_test_excel.xls in desktop and uploaded to app server using CG3Z tcode (as BIN file type).
    Now in my program I have used :
    OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
    DO.
    READ DATASET v_filename INTO wa_tab.
    The statement OPEN DATASET works fine but I get a dump (conversion code page error) at READ DATASET statement.
    Error details:
    A character set conversion is not possible.
    At the conversion of a text from codepage '4110' to codepage '4103':
    - a character was found that cannot be displayed in one of the two
    codepages;
    - or it was detected that this conversion is not supported
    The running ABAP program 'Y_READ_FILE' had to be terminated as the conversion
    would have produced incorrect data.
    The number of characters that could not be displayed (and therefore not
    be converted), is 445. If this number is 0, the second error case, as
    mentioned above, has occurred.
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_CONVERSION_CODEPAGE', was not
    caught and
    therefore caused a runtime error.
    The reason for the exception is:
    Characters are always displayed in only a certain codepage. Many
    codepages only define a limited set of characters. If a text from a
    codepage should be converted into another codepage, and if this text
    contains characters that are not defined in one of the two codepages, a
    conversion error occurs.
    Moreover, a conversion error can occur if one of the needed codepages
    '4110' or '4103' is not known to the system.
    If the conversion error occurred at read or write of  screen, the file
    name was '/usr/sap/read_files/fm_test_excel.xls'. (further information about
    the file: "X 549 16896rw-rw----201105170908082011051707480320110517074803")
    Also let me know whether this is the proper way of reading excel file from app server, if not please suggest an alternative .
    Regards,
    Karthik

    Hi,
    Try to use OPEN DATASET v_filename FOR INPUT IN BINARY mode encoding default. instead of OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
    As I think you are uploading the file in BIN format to Application server and trying to open text file.
    Regards,
    Umang Mehta

  • Record not inserting into the table through Forms 10g

    Hi all,
    I have created a form in 10g(10.1.2.0.2) based on just one table that has 4 columns(col1, col2, col3, col4).
    Here col1, col2 and col3 are VARCHAR2 and col4 is date and all the columns are not null columns(There are no primary and foriegn key constrains, which means duplicates are allowed).
    My form contains 2 blocks where block 1 has one text item (col1) and 3 buttons (Delete, Save, Exit).
    And block2 is a database block and has col2,col3,col4 which are in tabluar layout frame displaying 10 records.
    When the form is opened the cursor has to be in block1.col1 for querrying. Here i enter a value in col1, and then when I click on col2 in the block2, then I put execute_query in new_block_instance of block2, which displays the records.
    The block2 properties are not updatable, insertable and query is allowed.
    Everything is working good until here. But here in the block2 when I want to insert another record into the table, by navigating all the way down to the last empty record and entering the new values for col2, col3 and col4 And then Ctrl+S will display the message "*FRM-40400: Transaction complete: 1 record applied and saved.*" But actually the record is not inserted into the table.
    I also disabled the col4 by setting the Enabled property to No, since while inserting new record the date have to be populated into it and it shouldnt be changed by the user. And im populating the sysdate into the new record by setting Intial Value property to *$$DATE$$*.
    And another requirement which I could not work arround here is that, the col3 also should be populated with the username of the user while inserting.
    please help me...

    Hi Sarah,
    I do not want to update the existing record. So I kept Udate Allowed to No in property palette for the items in block2.
    Do I have to do this property at block level also?
    I'm inserting a new record here.
    Edited by: Charan on Sep 19, 2011 8:48 AM

  • Importing multiple jpeg files from local folder into database LOB column

    I have to programatically save multiple pictures (jpeg) from the folder on my PC into Oracle table LOB column. I have to be able to choose local folder on my PC where are the pictures, and press button on Oracle Forms to save pictures in LOB column in database.
    I'm using Forms 6i and Oracle 10g Rel2 database.
    Is this possible with Oracle Forms or the only way to do that is to use create directory database command and use dbms_lob package which I shouldn't do, because Oracle database directory is not allowed to see my local folder.

    As I said I don't know how to use object data type, I just given a shot as below. I know the following code has errors can you please correct it for me.
    Public
    Sub Main()
    ' Add your code here 
    Dim f1
    As FileStream
    Dim s1
    As StreamReader
    Dim date1
    As
    Object
    Dim rline
    As
    String
    Dim Filelist(1)
    As
    String
    Dim FileName
    As
    String
    Dim i
    As
    Integer
    i = 1
    date1 =
    Filelist(0) =
    "XYZ"
    Filelist(1) =
    "123"
    For
    Each FileName
    In Filelist
    f1 = File.OpenRead(FileName)
    s1 = File.OpenText(FileName)
    rline = s1.ReadLine
    While
    Not rline
    Is
    Nothing
    If Left(rline, 4) =
    "DATE"
    Then
    date1 (i)= Mid(rline, 7, 8)
     i = i + 1
    Exit
    While
    End
    If
    rline = s1.ReadLine
    End
    While
    Next
    Dts.Variables(
    "date").Value = date1(1)
    Dts.Variables(
    "date1").Value = date1(2)
    Dts.TaskResult = ScriptResults.Success
    End
    Sub

  • Can't Import large .avi file from digital camera into iPhoto 08

    I have a digital camera with a 4GB SD card. I was shooting video and have several small .avi files on the card and one large .avi file (2.67 GB) on the same card. I did not have a problem importing the small files. iPhoto hung while trying to import the large file. I read in this forum that I should use Image Capture, which I tried. When I used Image Capture on the smaller files (just to see how it worked), my camera would flash while it was transferring. When I tried Image Capture on the large file, the camera did not flash and after about 20 minutes, there didn't seem to be anything going on with the transfer. I also tried an old card reader through Image Capture, and that didn't work either. Should Image Capture be able to handle this size file? Do you know of any way to break up the large file into smaller files on the SD card? What am I missing? Thanks!

    Canon's cameras do not mount on the Desktop. It's a 'feature' of the brand.
    There are several possibilities for Image Capture - including minor directory damage on the card etc. The only solution is get the card to mount, and that means a recent Card Reader.
    Regards
    TD

  • Issue with uploading XML file from application server into internal table

    i Need to fetch the XML file from the application server and place into internal table and i am getting error message while using the functional module   SMUM_XML_PARSE and the error message is "line   1 col   1-unexpected symbol; expected '<', '</', entity reference, character data, CDATA section, processing instruction or comment" and could you please let me know how to resolve this issue?  
        TYPES: BEGIN OF T_XML,
                 raw(2000) TYPE C,
               END OF T_XML.
    DATA:GW_XML_TAB TYPE  T_XML.
    DATA:  GI_XML_TAB TYPE TABLE OF T_XML INITIAL SIZE 0.
    DATA:GI_STR TYPE STRING.
    data:  GV_XML_STRING TYPE XSTRING.
    DATA: GI_XML_DATA TYPE  TABLE OF SMUM_XMLTB INITIAL SIZE 0.
    data:GI_RETURN TYPE STANDARD TABLE OF BAPIRET2.
        OPEN DATASET LV_FILE1 FOR INPUT IN TEXT MODE ENCODING DEFAULT.
        IF SY-SUBRC NE 0.
          MESSAGE 'File does not exist' TYPE 'E'.
        ELSE.
          DO.
    * Transfer the contents from the file to the work area of the internal table
            READ DATASET LV_FILE1 INTO GW_XML_TAB.
            IF SY-SUBRC EQ 0.
              CONDENSE GW_XML_TAB.
    *       Append the contents of the work area to the internal table
              APPEND GW_XML_TAB TO GI_XML_TAB.
            ELSE.
              EXIT.
            ENDIF.
          ENDDO.
        ENDIF.
    * Close the file after reading the data
        CLOSE DATASET LV_FILE1.
        IF NOT GI_XML_TAB IS INITIAL.
          CONCATENATE LINES OF GI_XML_TAB INTO GI_STR SEPARATED BY SPACE.
        ENDIF.
    * The function module is used to convert string to xstring
        CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
          EXPORTING
            TEXT   = GI_STR
          IMPORTING
            BUFFER = GV_XML_STRING
          EXCEPTIONS
            FAILED = 1
            OTHERS = 2.
        IF SY-SUBRC <> 0.
          MESSAGE 'Error in the XML file' TYPE 'E'.
        ENDIF.
      ENDIF.
      IF GV_SUBRC = 0.
    * Convert XML to internal table
        CALL FUNCTION 'SMUM_XML_PARSE'
          EXPORTING
            XML_INPUT = GV_XML_STRING
          TABLES
            XML_TABLE = GI_XML_DATA
            RETURN    = GI_RETURN.
      ENDIF.
      READ TABLE GI_RETURN TRANSPORTING NO FIELDS WITH KEY TYPE = 'E'.
      IF SY-SUBRC EQ 0.
        MESSAGE 'Error converting the input XML file' TYPE 'E'.
      ELSE.
        DELETE GI_XML_DATA WHERE TYPE <> 'V'.
        REFRESH GI_RETURN.
      ENDIF.

    Could you please tel me  why the first 8 lines were removed, till <Soap:Body and also added the line <?xml version="1.0" encoding="UTF-8"?> in the beggining .
    Becuase there will be lot of  XML files will be coming from the Vendor daily and that should be uploaded in the application server and should update in the SAP tables based on the data in the XML file.
    what information i need to give to vendor that do not add the first 8 lines in the XML file and add the line in the beggining <?xml version="1.0" encoding="UTF-8"?>   ??????
    Is there any other way we can do with out removing the lines?

  • How to read a txt file then insert them into db tables

    Hi,
    Please help me to solve this problem. This is what I need to do:
    1. read a text file which holds the values to be inserted into some database tables. For example it holds ename, deptno, sal, dname for emp and dept tables. These are in a text file now.
    2. Then I need to insert these data into db tables like emp and dept, and check if there are dups or voilate any constraints. The records to be inserted are usually > 100,000, so I am also looking for a fast way to do this.
    3. This operation happens regularly, so I need to schedule the job. I know this can be done by using procedures and dbms_jobs.
    Any help will be greately appreciated.

    Generally, in 8i, folks would use sql loader to accomplish this. Sql loader does exactly what you want, but is an external application, so it would probably be easiest to schedule it to run using your operating system's scheduler (i.e. cron on Unix, Task Scheduler on Windows). You could certainly write a PL/SQL procedure that called the external sql loader application, and use the Oracle scheduler to schedule it, but that strikes me as more effort than it's worth.
    If you're using 9i, you could look into external tables, which would simplify the process greatly.
    Justin

  • How can you import a PDF file of a score into the score editor in Logic Pro 8?

    looking for help on Importing a score from say a music book, into logics score editor to use as backing tracks

    http://www.musitek.com

  • Inserting new input record into the table through screen

    Hi,
    Example UserTable and PaymentTable
    UserTable - UserID - Primary Key
    PaymentTable - containg couple of fields and UserId is foreign Key.
    I designed the page for to insert the new input record using the steps given in the doc "http://download-uk.oracle.com/docs/cd/B32110_01/web.1013/b28967/web_adv007.htm".
    When i click the persistEntity method its throws TopLink error cannot insert null value into UserId column in PaymentTable.
    Currently i am posting this reply from home... that's why i mentioning the scenario rather than posting the error.
    Please tell how to populate the values from the screen to PaymentTable.
    Thanks & Regards
    Vimalan Balan

    Hi Vimalan,
    Did you find an answer for you question?
    Regards,
    Phil

  • How do I import raw CR2 files from camera into LR5? I get an error message

    I'm trying to import raw CR2 files from my camera into LR5. I get a message "Files appear to be unsupported or damaged." I know they are not damaged. Does LR5 support raw files? I can do this in Bridge and it converts them to dng files. This would be ideal for me if both could be done in LR5.

    Not sure what the problem is if you say the files re recognized in Bridge? You could test the CR2 files by downloading the free Adobe DNG converter - latest version 8.6 (keep your CR2 originals as backups and for use in the camera manufactures software)and then import the DNG’s. It’s an extra step but I use it all the time to batch process into final folders.
    Windows download (.exe file) click here DNG Converter 8.6
    Mac download (.dmg file) click here DNG Converter 8.6
    You can convert a whole folder of raw images in one click. See this quick video tutorial:
    You Tube click here for DNG Converter tutorial

  • Import Raw files from Nikon D7000 into Lightroom 3

    If I understand correctly I must upgrade to Lightroom 4.3 or get a converter in order to import my Raw files from Nikon D7000 into Lightroom?
    Not sure if I understand it correct?  Which is the best way?

    I use LR 3.6 with the latest updates for camera raw for this version, I believe it's 6.7, and my D7000 and its NEF's were correct handled.
    Did nothing else as install the program, update every time there was an update and in September when I bought the D7000 LR worked fine with his NEF's. Before I had a D40x which was als correctly handled.

  • How can One sender communication channel pick two file from two location

    Hello
    I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...

    >
    Soumitra Sinha wrote:
    > Hello Vijay
    > I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
    > i have two folder   folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can  pick file from two location and how one receiver channel can put in two location.please help me..
    Ok now I get your requirement.
    you cant achieve this -  how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.
    easy way - involve IR mapping
    else
    have a adapter module to define your dynamic configuration.
    Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further
    Set the dynamic directory/file name etc for your receiver adapter.

  • Reading XML file from specific location&Storing xmldata into related tables

    I am new to xml.
    My requirement is,
    1) Get the xml file from specified location (C:\xmlfiles\ xmldata.xml)
    2)Convert xml data in clob data.
    3)store the data into related table.
    and vice-versa.
    What i did,
    a) I got the data from related tables and converted into xmlformat using SQLX
    b)converted this resultset into clob data and stored as xml file in specific location.
    It uses more then ten tables.
    All this help i got from AskTom site , thanks for that.
    Now i have to do vise-versa, i.e. i have to perform 1), 2), 3) steps........
    Please tell me proper steps to acheive it.
    Thanks in advance for giving your precious time to solve my issue.

    Have you read the"XMLDB FAQ" in this Forum?
    You could use stuff like:
    create or replace directory xmldir as C:\xmlfiles'
    declare
    xmldata xmltype;
    begin
    xmldata := xmltype(bfilename('XMLDIR','xmldata.xml'),nls_charset_id('AL32UTF8'));
      -- etc, etc your code --
      -- --> convert to clob by using for instance getclobval() function
      -- --> then insert the data in your relational table with CLOB column
      -- etc, etc your code --
    end;
    /

Maybe you are looking for

  • App hits a point and stops downloading

    Hi guys, Trying to download "NeverWinter Nights 2" through the App Store, once it hits the 43.88MBs of 4.33GBs it stops and doesn't download any more. Tried restarting the laptop, deleting the app, etc. and nothing seems to do the trick! Any suggesti

  • How do I share photos from one identity to another identity on my iMac?

    I want to share my photos from my login identity with my husbands login through iPhoto. Can it be done and how, please?

  • Fcp and motion 3 with Yosemite

    I Recently upgraded the operating system of my 2009 Mac Pro to Yosemite and consequently FCP and motion 3 no longer work. Can I do a clean install of Mavericks on a spare hard drive, install FCP and motion 3 on it and not have any conflicts with the

  • Using XML functions in SQL Developer

    Hi, I'm using OSD 1.5.3 on a WinXP machine. I love OSD and use it every day! But I think i found a little bug. When you use some Oracle XML functions like (XMLELEMENTS and XMLAGG) in your query (these functions return CLOB values) it hangs OSD. For E

  • Get warranty services abroad

    Hi guys I brought a laptop last year in June, now I work in china. Recently, my laptop remind me to change battery. I wonder could I get warranty services in china? and how? and could I replace a free battery from HP? Thanks!