Possible to have comments in sqlldr data file?

Hello -
Is it possible to comment out a line in a data file provided to sqlldr or to tell sqlldr to skip the first line in a data file?
I am trying to use sqlldr to load a text file of comma delimited data whose first line is essentially a heading:
heading1,heading2,heading3
data1-1,data1-2,data1-3
data2-1,data2-2,data2-3
is there a way to "comment out" the heading row (I tried -- and /* */) or tell sqlldr to skip that first line in the control file?
(I can delete the heading row but would prefer not to since it is very useful whenever I have to look at the data...)
Thanks!

http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_control_file.htm#i1004772

Similar Messages

  • I have a old firefox data file from a computer transfer i did and i want to get all the bookmarked sites i had orginized how can i do this?

    so a while back i transfered my old computer files to my new computer and when i did that i tried getting my firefox books marks added when i did it it just made a file old firefox data. i went into it it has the books marks but the problem is it isnt really readable kinda jumbled up and i wanna know if i can import it to my current one or somehow get it organized so i can at least see them apart or on a note pad just each bookmark on its own line? i added a picture of what it looks like

    Backing up and restoring your Profile should have included your bookmarks.
    https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
    https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
    That looks like a JSON bookmarks backup file, from 11-01-2012. Did you try '''restoring''' that file?
    https://support.mozilla.org/en-US/kb/restore-bookmarks-from-backup-or-move-them#w_using-a-bookmark-backup-file
    Never messed with JSON files other than viewing them on a few occasions out of curiosity. There are no line breaks which make them very difficult to read.
    As far as working with that file in {like} NotePad goes:
    A. use Find / Search for each indecent of a '''"uri"''' string, then "copy and paste" the uri into another text file, and then move on to the next "uri" string.
    B. use a text program where a filter can be set for the "uri" field in the JSON file for a line break or to "scrape out" the "uri"s only for display or export to a list of uri's.
    Or try using an online JSON editor like this, to try to display only the "uri" field.
    https://www.jsoneditoronline.org/

  • Possible to have "global" variable for book files?

    I'm working in FM9, I am wondering if there is any way to have a variable that spans all the .fm files within a book file?
    thanks
    gary in vermont

    Gary,
    With FM9 you have the option to exclude selected files from standard book operations, like printing or saving as XML. Using this, I recommend the following to handle global features like variable values, condition settings and maybe other stuff:
    * Add a new document "GlobalStuff.fm" to your book, at the very end.
    * Use this document to easily set variables etc., delete all other information you don’t want to be global (maybe even all paragraph and character catalogs).
    * Right-click this document in the book and select "Exclude".
    Whenever you need to update some global data, you would do it in this file before importing the changed properties into all other files of the book.
    - Michael

  • Re-generating deleted object through Co/Data Files

    Hi Folks
    I have created a BAPI, say ZBAPI_TEST, in ECC6 System and its associated TR got released.
    I have copied the Co/Data files to a local folder and deleted the original Co/Data files from \usr\sap\trans. Later I have removed ZBAPI_TEST and its associated structures.
    Then I re-imported the Co/Data friles to \usr\sap\trans\ from my local folder and attached to a new TR (using Include Objects).
    But, the object ZBAPI_TEST is not existing now. What could be the problem?
    My Q is: since the Co/Data Files must contain the object and its associated structures, ZBAPI_TEST was supposed to exist after re-import.. right?
    Please comment....
    Cheers
    Rajvat

    Aditya
    Thanks for your suggestions. Still I have a query related to this. Consider the below scenario......
    I have developed a BAPI object in ECC6 System. Released the TR and saved the Co/Data files in my Local system folder.
    Then, I
    * removed the Co/Data File from Application Server
    * deleted the object and its associated structures from the ECC6 system
    * un-released the TR
    * removed all the references of object
    * deleted the TR itself
    All that we remain with is the Co/Data Files of the TR. We just know the TR number also.
    NOW,
    I want to reproduce my deleted object using the Co/Data Files in my hand.
    Is it possible? Is there any technical difficulties in accomplishing this?
    Please comment,
    Rajvat

  • MYOB AccountEdge - Sharing data file with remote Windows PC

    I use MYOB AccountEdge in a Mac environment at my office. Bookkeeper uses MYOB AccountEdge in a PC environment. We both would like to be able to have access to my MYOB data file. Simultaneous access to the file is not a requirement. We're not in the same office, so one of us would have to access the file remotely. I have Mac OS X Panther Server installed on my server. The MYOB folks told us that, in mixed environments, the data file would have to reside on a Windows server in order for both the Mac and PC to have access to the data file. They said that the Windows PC would not be able to access/use the file if it resided on a Mac server. Bookkeeper does not have a windows server. Before I go out and buy a PC to act as a server for the data file, wanted to know if the MYOB folks knew what they were talking about. I know it's their product, but over the years I've found some companies who make both Mac & PC software to be sometimes mistaken about the capabilities of the Mac platform.
    By the way, I do have a static IP address and broadband internet access. I would think that Mac OS X server would allow a PC to access and use the data file without any problems. Any advice/help anyone could provide would be greatly appreciated. Thanks.
    iMac G5   Mac OS X (10.4.8)  
    iMac G5   Mac OS X (10.4.8)  

    Pleaseeeeeeeee, help me!!!!

  • LSMW: Codepage conversion error with a Unicode data file

    Hi all,
    I am currently developing a LSMW upload program which has to use a Unicode data file. The underlying system/target system is NOT a Unicode system. The data file also contains non-Latin2 characters.
    In the step "Specify Files", I have specified my Unicode data file and specified the codepage type "4110 - Unicode UTF-8".
    In the step "Read Data", then I get the runtime error "CONVT_CODEPAGE", exception "CX_SY_CONVERSION_CODEPAGE".
    I would expect that all non-Unicode characters are automatically transformed to "#", but the conversion progam breaks. The character transformation to "#" would be fine.
    I am really wondering why, at first, I am able to specify the Unicode codepage type, but then, the file cannot be converted correctly.
    What do I make wrong, what can I do to avoid the error?
    Thanks a lot in advance for helping me out...
    Regards,
    Klaus

    Hello,
    You need convert the file with the format UTF-8. In notepad you can choose this option.
    Regards,
    Oscar.

  • Is there a way to put comments in an .icd file?

    I think I know the answer to this, but is it possible to put comments into an .icd file?  I create many ICD files for Camera Link cameras (using both the NI Camera File Generator and by editing the text) and it would be very helpful if I could place comments in the file itself.
    Thanks, Bruce

    Thanks for taking the time to think about this issue.
    I tried your suggestion and now when trying to load the file in MAX it gives an IMAQ Error, "Error 0xBFF60108  The camera file does not support the current interface type."  I've tried many different forms of comments and none seem to work (; \\ -- %).  I am only way I am successfully able to use comments is if I put them at the very end of the file, after the last "{".
    Thanks anyway!
    Bruce

  • LabVIEW created .DAT file with saving only new data on existing files

    I can successfully create and save a .DAT file using LabView and Diadem.   The save command I am using (in Labview) only overwrites existing files, I would like it to save only the new data from the last save.  Overall I would like to save the data every 1hr and since my test will last for many hours, the further along in the test the longer it would take to save the full file.  I know Diadem has the capability to save in such a manner, so I have thought about after I write to Diadem have a small Diadem application save periodically, but I haven't found a way to save the .DAT file, with out any signals coming into the save function.  I have attached the example .DAT file creater and saver I am using to figure it out.  thanks for your help!

    Howdy New Guy -
    I am not sure if you are looking to append to a file, or if you would
    like to overwrite a file.  In either case, you can take a look at
    the "Append To File.vi" example for DIAdem. 
    Either way, you may be experiencing problems because you are only using
    the "DIAdem Simple File Write.vi" (found on the DIAdem >> DAT
    Files palette).  Instead, you can use the "DIAdem File Write.vi"
    (located on teh DIAdem >> DAT Files >> DAT Files Advanced
    palette).  This VI can be set to overwrite or append to file.
    I hope this helps in your development!
    Andrew W. || Applications Engineer

  • How can I put the signature into the data file.

    Hi all,
    I want to put the signature into the data file, mean the data file will be on the top and the signature will be at the buttom.how can i do that?
    Thanks.
    example:-
    dataFile.txt
    Name=...
    Address=...
    Signature=6A07C70E....123FEAB(Hex)

    Thanks for your reply.
    First, i have a keypair (public key and private key).
    I use the private key to initialize the Signature and
    use the Signature to sign a data file ( dataFile.txt) .
    So when i need to comfirm the data file not being modify
    I have to verify the data file with the Signature and the public key.
    I hardcoded the public key in my program so my client (receiver of data)
    need only the Signature file and the data file (2 files).
    So how can i combine the Signature file and the data file into 1 file?

  • Data files are offline / tablespace offline

    I am confused on the concept of data file offline.
    What happened when you take data file offline?
    Is data file offline because of disk damage? we see the error that data file is haning a problem, we have manually to take data file offline? how?
    Why is tablespace offline but data file is still online?
    Please help!
    Thanks
    S.

    ski123 wrote:
    I am confused on the concept of data file offline.
    What happened when you take data file offline?The offline datafile means simply that the file is not available anymore for the access. All the objects for the offline file become inaccessible for the users to access.
    Is data file offline because of disk damage? we see the error that data file is haning a problem, we have manually to take data file offline? how?Yes it can happen that the data file goes offline because of any kind of damage either over the disk, or also with the file itself. For example, there may be a chance that the file is not available anymore , may be because someone has deletedthe file. So most of the times, Oracle would offline the file by itself. In any case, if the file doesn't go offline by itself than you need to take it offline yourself as the recovery for the file can't happen if its online. You would get the error messages that oracle can't acquire the exclusive access over the file.
    Why is tablespace offline but data file is still online?Not sure that I did see this ever myself. Tablespace is nothing but the container for the datafile so if there is a file of it which is offline and that's the only file in the tablespace, the tablespace can't stay as online. Show us an output for the same.
    The links given by Anantha are must for you to read the cocept of offlining a tablespace. Make sure you read them for sure.
    HTH
    Aman....

  • Trailing Minus in Data file causing issues!

    Hello Everyone,
    I think there should be an easy solution to this but I can't figure out the syntax to make it work.  My problem is in my data file some of my Amounts are in the file as 6785.28-.  When I try to load the data file BPC does not like the trailing minus sign.  If I open the file in Excel and use the text to Columns tool it fixes the amounts to be -6785.28.  Is there anyway to accomplish this in BPC so users will not have to open the data file in excel and then resave it?
    Thanks in advance!
    Nick

    Yes this can be done with transformation file.
    For amount column you have to do a transaformation where the last sign from string if it is - should be in front of string. I think can be done quite easy.
    Regards
    Sorin Radulescu

  • Accessing Data Files

    Hi Guys,?
    I own a Creative Zen Touch 20GB which contains about 0GB of music. I am also convinced I have a bunch of data files - MS Word documents, text files etc - on the dri've also. I have installed all of the drivers from the website but when I go to Windows Explorer for the device, it is only showing me the music - both mp3 and wav - but not documents.
    Anyone know how to get these up? In Windows Explorer it shows as an "Audio Device". I would like to see it as a hard dri've....then I think the files will appear.
    TIA,?
    Aidso

    Thanks for the quick replies.  Ironically, I had already visited the HP support site and read the thread highlighted above, and attempted the fix using 7-zip.   Sadly, I can't find a site to download this or other suggested apps that (according
    to site-posted reviews) aren't infected with malware, viruses, browser-hijackers and the like, or that are from "untrusted publishers".  I contacted several computer repair companies regionally and offered to purchase this type of software to avoid the
    embedded stuff, but apparently that isn't an option.
    Thanks as well for the tip regarding the extended value of the backed-up data over time.  The most-valued data I was backing up is not operation-critical, but is personal stuff like digital camera-created pictures and MS Word documents.
    I am still looking for a trusted and clean source of software to use to manipulate the data in these swm files, probably in vain.  Not at all impressed with HP's product or support.

  • Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin

    Hi ,
    We have a catalog that defines 2 types of products (they have too many different properties), so wanted to keep them on two different MDEX engines and serve the applications requests. Here DB catalog and front end ATG application is same for both the MDEX instances.
    Is it possible to have 2 different output config XML files and index the data into 2 endeca apps using the same indexing component ProductCatalogSimpleIndexingAdmin?
    Thanks
    Dev

    Hi, also have had some problem some monthes ago - I created separete component ProductCatalogSimpleIndexingAdminSecond. After that one of my colleage gave me some advice:
    The creating separate component like ProductCatalogSimpleIndexingAdmin for the second IOC is possible way for resolving your situation. But I afraid that this way will be required creating mane duplicates for already existed components.
    In my opinion the better way is the following:
    starting from AssemblerApplicationConfiguration and ApplicationConfiguration component. It contains details for connecting between ATG and Endeca. Of course you should configure different components for different Endeca Apps.
    After that:
    Find all components that uses AssemblerApplicationConfiguration and ApplicationConfiguration. Customize these components for using one or another  *Configuration component depending on what index works. (many variants released it: the most simple global custom component with flag.)
    Then customize the existed ProductCatalogSimpleIndexingAdmin. Using one or another IOC  and setting the flag in global custom component when index started. You can add some methods into your custom ProductCatalogSimpleIndexingAdmin like:
    Execute baseline index for both IOC (one by one)
    Execute baseline for IOC 1
    Execute baseline for IOC 2.
    Note: you should be afraid about incremental (partial) index in this configuration. But resolving conflicts in incremental index should be done after full implementation these changes.
    Regards

  • I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?

    I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?
    Attachments:
    try2.txt ‏2 KB
    read_array.vi ‏21 KB

    The problem is in the delimiters in your text file. By default, Read From Spreadsheet File.vi expects a tab delimited file. You can specify a delimiter (like a space), but Read From Spreadsheet File.vi has a problem with repeated delimiters: if you specify a single space as a delimiter and Read From Spreadsheet File.vi finds two spaces back-to-back, it stops reading that line. Your file (as I got it from your earlier post) is delimited by 4 spaces.
    Here are some of your choices to fix your problem.
    1. Change the source file to a tab delimited file. Your VI will then run as is.
    2. Change the source file to be delimited by a single space (rather than 4), then wire a string constant containing one space to the delimiter input of Read From Spreadsheet File.vi.
    3. Wire a string constant containing 4 spaces to the delimiter input of Read From Spreadsheet File.vi. Then your text file will run as is.
    Depending on where your text file comes from (see more comments below), I'd vote for choice 1: a tab delimited text file. It's the most common text output of spreadsheet programs.
    Comments for choices 1 and 2: Where does the text file come from? Is it automatically generated or manually generated? Will it be generated multiple times or just once? If it's manually generated or generated just once, you can use any text editor to change 4 spaces to a tab or to a single space. Note: if you want to change it to a tab delimited file, you can't enter a tab directly into a box in the search & replace dialog of many programs like notepad, but you can do a cut and paste. Before you start your search and replace (just in the text window of the editor), press tab. A tab character will be entered. Press Shift-LeftArrow (not Backspace) to highlight the tab character. Press Ctrl-X to cut the tab character. Start your search and replace (Ctrl-H in notepad in Windows 2000). Click into the Find What box. Enter four spaces. Click into the Replace With box. Press Ctrl-V to paste the tab character. And another thing: older versions of notepad don't have search and replace. Use any editor or word processor that does.

  • Sqlldr - can you skip last row from a data file

    Hi
    I need to skip last line from the data file when I load the data into the tables. Is that possible to do using sqlldr, if yes How?
    Also, the first row in the data file, which has a single column needs to be loaded into all the rows of the table. How can i do that?
    Example
    020051213
    1088110 0047245 A 000000000000GB 00000496546700
    1088110 0719210 A 000000000000GB 00001643982200
    1088110 0727871 A 000000000000GB 00000083008900
    9010163
    The first line needs to go into all the rows, and the last row needs to be skipped. Remaining can be loaded normally. I think this would take multiple loads. Can anybody please help.
    TIA

    here i am sending a control file sample which use the when clause
    in sql loader
    load data
    infile 'load_4.dat'
    discardfile 'load_4.dsc'
    insert
    into table sql_loader_4_a
    when field_2 = 'Fruit'
    field_1 position(1) char(8),
    field_2 position(9) char(5)
    into table sql_loader_4_b
    when field_2 = 'City'
    field_1 position(1) char(8),
    field_2 position(9) char(5)
    )

Maybe you are looking for

  • How do I open desktop .pdfs in Preview but in-line (Web) .pdfs in Safari?

    Hi, all- I've got Safari 6 and Mountain Lion, and I like being able to view .pdf files on the Web in Safari, for example, they open in a new tab. However, I also have a lot of .pdfs on my desktop. I want those to open in Preview. What happens now is

  • Can't find airport

    I have been using this airport express for some time and when we changed to a airport supplied by our internet company. I wanted to go to it and use it for itunes and printer but i plugged it in and went to configure it in Airport Utility but it coul

  • Great speeds wired, poor wireless..

    Good morning.  I had BT infinity installed earlier this week, absolutely delighted thus far with download speeds nearing 80mb via ethernet connection. However whenever I try using the wifi connection I'm only managing speeds ranging from 4mbs-20mbs.

  • How do I set my Gmail beside the tab ?

    I want to set my frequently used site to the left side of the tabs, how do I do that ?

  • Is There a Technique for Improving Rental Movie Experience?

    I attempted to watch "The American" on my 2nd Gen Apple TV two nights ago. I was told it would take four hours to be ready, so I just left it alone and did something else. Last evening I found that it was ready to watch, so I did. It was fine for the