Loading File name and file contents into two separate tables using Sqlloadr

Hi All,
I have situtation like to load File contents into One table and File name into one table . File comes with .txt extension
Example :
File name : product_09_abc.txt
File contents :
Productcode
ABC
CDE
EFT
Can you please help me out this how can we acheive this using SQLLOADER.

SQL*Loader will not pass through the filename for you to be able to insert into a table.
You will need to have a controlling o/s script that picks up the file name, calls sql*loader and then also call's an SQL script (using sql*plus?) to insert the filename into a.n.other table.

Similar Messages

  • When importing photos with iBooks Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the imported photo?

    When importing photos with the iBooks Author Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the corresponding imported photo? I have 4,800 stills to import and can't imagine it's necessary to copy and paste the description for each.

    As always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc.
    http://www.apple.com/feedback/ibooks-author.html
    As for AS, I'm not sure anyone has sniffed iBA's dictionary yet...google is you friend for hot prospects, I'm sure

  • File Name and File Content  not gettinng passed from Proxy to Business Serv

    Hi All ,
    I have a requirement in OSB , where i need to pick the file from remote Source and FTP the files to Remote Target .Below are the steps which i did to achieve this.
    1.Created a FTP Adapter in JDeveloper to Get the files from Source and a FTP Adpater to Put the files to Target.Inboth the adapters i have choose 'Shema is Opaque'
    2.Imported the wsdl and jca file to OSB
    3.Generated Proxy Service (PS ) and Business service (BS) out of Step 2
    4.I edited the Message flow such a way that , the PS is routed to invoke the BS
    Aslo i assigned $inbound/ctx:transport/ctx:request/tp:headers/jca:jca.file.FileName to a variable 'FileName' in PS
    and in BS service i passed $outbound/ctx:transport/ctx:request/tp:headers/jca:jca.ftp.FileName = 'FileName'
    When i tried to activate my session , the file that is getting written to the target has 0 byte.Also , the file name is also not getting passed from PS to BS
    Can some one help me with the steps on how to use the Xpath , so as to pass the file name and file body from proxy servive to business service.
    Thanks
    John

     I search multiple shares to find a common file name then create a single output file. I will be doing this search and file creation
    for 5-10 different file names. If there is a better way .. certainly open for suggestions. It's working but having issue with
    the cmd file for every file and folder I check. It puts this error out for each run of the process.
      Error message in LOG file:
    Get-ChildItem : Cannot find path 'F:\powershell\-SearchFor' because it does not exist.
     Thanks.
    I tried your code with little changes and saved in Temp folder.
    My CMD file has the below code
    PowerShell C:\Temp\Untitled1.ps1
    It worked.
    Regards Chen V [MCTS SharePoint 2010]

  • FileSaveService ignored the file name and file extensions

    I am using the JNLP API to build a JWS application. When using the FileSaveService, I found it automaticlly ignored the file name and file extensions I passed to the 'FileSaveService.saveFileDialog()'.
    My code is like the following:
    String[] xtns = {"csv"};
    FileContents fileContents = fileSaveService.saveFileDialog(
    ".", xtns, stream, "testFile"); Im running this application in JRE version 1.6.0_20-b02 in Windows XP.
    Although in the JNLP API, it said the file name and file extension 'might be ignored by the JNLP client', I still wonder if anyone has a better solution for this?
    Thanks very much :)

    Sean.Wang wrote:
    ..I still wonder if anyone has a better solution for this?Visit [http://pscode.org/jws/api.html#fs]. Click the link to the 'Launch File Service (sandboxed) demo'. Type some characters into the text area then activate the 'Save File' button. Do you get a file chooser that defaults to (.zzz) extension?
    Then if yes, and that is a 'better solution' for you, then yes, I have one. The code of the demo. can be downloaded at a link just to the right of the launch link.

  • Passing the file name and file type for mime_download

    HI All,
    Can You Please let me know how to pass the parameters file name and file type for mime_download.
    Thanks in Advance.
    Regards,
    Haritha.

    Hello Haritha,
    Please see the SAP help:
    http://help.sap.com/saphelp_nw70/helpdata/en/46/9bd97240b81e5be10000000a1553f6/frameset.htm
    Edgar

  • Make "File name" and "Files of type" fields read-only in JFileChooser

    I try to make the "File name" and "Files of type" fields read-only in JFileChooser dialog. Anybody
    knows how to do? Thanks.

    You mean so the user can't choose the name of the file to open or save? Not much point in even using a JFileChooser, then, is there? Or did I misunderstand the question?

  • Adding file name and file full path to a page

    Hi all I'm new to scripting
    What I want to do and don't know how to go about it is to run a script that collects the saved file name
    and the full path where the file is saved on the network and displays it on my document
    If any one has done something similar or if some one can help me create it it would be appreciated
    Thanks Gabriel

    var idoc = app.activeDocument;
    var itext = idoc.textFrames.add();
    var file = idoc.fullName;
    itext.contents = file.fsName;

  • Dynamic File Name and File size

    Hi All
    I need some help in calling Dynamic File Name and Dynamic File size of a file in my adapter Module.
    Could you please provided some help on the same?
    I have tried the same through UDF it is working. Could anyone provide me the steps for the same
    Regards
    Abhishek Mahajan

    Hi,
    You can use the already available adapter module "DynamicConfigurationBean". Have this adapter module at the top of the module list in CC.
    Have the parameter value as insert http://sap.com/xi/XI/System/File FileName and http://sap.com/xi/XI/System/File SourceFileSize (corresponding to the key names)
    For more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/45/da2239feb22e98e10000000a155369/frameset.htm
    There is also a SAP note available for the same....dont remember the note number:(.....
    Regards,
    Abhishek.

  • File name and Measuremen​t in the same table?

    Hi,
    I have written the following VI that opens up each image file from a folder and measures a certain dimension on the image. It then puts the result of the measurement in a table.
    The table has one column and N rows since I have N images in my folder. How can I modify this VI so that it puts the filename in the same table as well as the measurement?
    I want the table to look like:
    filename1 measurement1
    filename2 measurement2
    and so on.
    Currently, it just shows
    measurement1
    measurement2
    and so on.
    Here is the VI:
    Solved!
    Go to Solution.
    Attachments:
    measurement.vi ‏68 KB

    You can't use the Express Table. As the properties page says, it is for numeric data. You will have to use a little bit of actual LabVIEW to create the table. A table is just a 2D string array. So, convert the numeric to a string, build a 1D string array from the file name and numberic, and use a shift register to build a 2D array. Something like the code below.
    Message Edited by Dennis Knutson on 05-07-2009 01:43 PM
    Attachments:
    Build Table.PNG ‏9 KB

  • Album download relabels itself and splits itself into two separate album folders

    I have purchased and downloaded an album from a reputable and legal independent website that I have successfully used in the past, but the album folder seems to have a glitch.
    When I download the album it labels itself "Standard" instead of by the name of the album title, like it usually does.  Then when I add it to my iTunes library, it relabels itself to the album name and subsequently splits itself into two separate album folders.  9 random tracks located in one folder, 13 in the other.  The only difference between the labels of the two album folders is that one has an underscore at the end of it.  I have exhausted all my trouble shooting tricks like ensuring all the common metadata is the same (artist, album, sorting, grouping, genre, playlist etc) and deleting and re-downloading, and subsequently copying and pasting files into the correct place but the same thing keeps happening. 
    I have downloaded all the latest software updates on my iMac 10.10.1 and use OS X Yosemite.  I have tried clearing my cache, cookies and webpage history and then downloading again using a completely different browser without success.  I've even tried dragging and dropping files from one folder into the other, again without success.  I would be grateful for any expert advice.

    It's a bug that has been there for years.
    There are workarounds, but you have to do them every time an album gets split. And that will happen every time you change an artist name or an album name (whether it's to change it to proper capitalization, or other reasons). There is no permanent solution.
    Workaround #1:
    1. Select all the tracks from the album
    2. Right click and select "Get Info"
    3. Change the album name by deleting, let's say, the last letter and press "OK"
    4. Change the album name back.
    Workaround #2:
    1. Select all the tracks from the album
    2. Right click and select "Get Info"
    3. Change the artist name by deleting, let's say, the last letter and press "OK"
    4. Change the artist name back.
    Workaround #3:
    1. Select all the tracks from the album
    2. Right click and select "Get Info"
    3. Go to "Options"
    4. Check (or uncheck, if it's already check) the "Part of a compilation" box and press "OK"
    P.S. Some smart person moved this thread from the "iTunes U" forum to the "iTunes for Mac" forum. But the OP clearly said he runs iTunes on Windows.

  • How to incorporate File name and timestamp automatically into select and save file dialog box?

    Hello,
    i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help?
    Thanks
    Solved!
    Go to Solution.

    You can pass a default file name to the 'File Dialog' Express VI.
    Use the 'selected path' output to open the file.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness
    Attachments:
    FileDialog.vi ‏21 KB

  • How can I read a file with ASCII Special Character into a SQL table using SSIS 2008?

    I've tried everything to read this file and am getting no where.   Help how can I read this file and load a SQL table?
    RS - AscII - 30  (Record Separator)
    GS - AscII - 29 (Group Separator)
    Thank you for your assistance - Covi
    Mark Covian

    We can use script component as source/transformation to read the text file and assign the contains to a string. Split the string by chr(30)  i.e RS and finally stored into an array or write to the output buffer of the script component.
    For example on how to use script component refer this link
    http://social.technet.microsoft.com/Forums/en-US/6ff2007d-d246-4107-b77c-624781baab38/how-to-use-substring-in-derived-column-in-ssis?forum=sqlintegrationservices
    Regards, RSingh

  • How to list column names and data types for a given table using SQL

    I remember that it is possible to use a select statement to list the column names and data types of databaase tables but forgot how its done. Please help.

    You can select what you need from DBA_TAB_COLUMNS (or ALL_TAB_COLUMNS or USER_TAB_COLUMNS).

  • Files always download as "attachment.ashx" instead of the file name and file type that they actually are.

    Since I have installed the new version of Firefox (version 8.0), every single file I download is downloaded as "attachment.ashx" and won't open. I have to change the name as well as the file type in order to open the document.
    This happens regardless of if I'm downloading from email, from a website, etc.. All of the files I have downloaded also have already been named and had file types appended, but Firefox is changing them every single time. I have never had this problem before using the same sites and downloads.

    Please hurry up with a solution! This is causing havoc, as I cannot open any attachments at all! It defaults to Adobe Photoshop, and then I get an error message that it is the wrong type of file. These are all Word docs! I can't get my work done! Is there some kind of work around that I can use in the meantime to open these things?

  • Get file name and received date & time

    Hello experts,
    We are loading around 10 source files(xml) on regular basis to Target table. I have to capture source filename & received datetime of those files and status of file whether it loaded successfully or not(I can care take care of status of file).  I want to automate this process using BODS and load filename, datetime and status data into one database table.
    For you information: File name looks like QAS_Wareneingang_20140328-190006-438.     ( from file name  ..190006-438 number is random number they are generating) and Date and time is constant for that day eg: 28.03.2014  19:00
    Could you please help me...
    Thanks & regards
    Mohan

    Thank you Arun for your kind help...
    I found a solution to find and move all related filenames with timestamp to  file_names.txt file using the batch script below.
    @echo on
    cd /D G:\BAUR
    dir /n Auslagerung* > G:\Dev_Users\BAUR\file_names.txt
    exit
    After that I used the above file as source and formatted using query transform in BODS.

Maybe you are looking for

  • How can I stop shared files in iBooks being highlighted by different family members?

    I Have family sharing set up which is great for sharing apps and music however I have a problem with iBooks. My wife and I both use ePub files which a re study material. The great thing about these is that we can highlight and add notes to files. THe

  • Family Sharing and iTunes for Windows

    My wife and I have family sharing set up and working fine across iOS devices and my macs.  She uses iTunes for windows and we can't find how to access my purchases on her machine.  We looked in the same place it is in iTunes for Mac and there is no p

  • IPod classic 80GByte (latest gen.): strange cover flow & invisible artists

    Hello. I recognized strange behaviuor on my iPod classic: 1. cover flow: Behind an album named the greatest hits (the correct cover is shown) I can find titles from various artists from their greatest hits album. But when I look up the special album

  • COBRA Letter Generation Errors

    Hi Folks, Our users are getting errors while generating COBRA letters (HRBENUSCOB002). The errors are: "Event 01 on 10/12/2011: Preceding event 07 on 10/22/2007 has not been processed yet" "NO entry for benefit plan M052" "Loss of dependent status of

  • Transport Management For ME

    Dear Experts, Please explain me the process of transports in case of ME. i.e., how do do the changes in DEV and how we capture them and move to QA and PRD? Once the changes are done in DEV do we export them as some .xxx file and then import the same