Suppose we have sal, comm in flat file, but in the staging table that we have

Hello

Suppose we have sal, comm in flat file, but in the staging table we are totsal col.i need to give sal + comm totsal in ctl file.how I have to give.

Can you please help on this.

Kind regards
Ramanantsoa.

Have you tried with [BOUNDFILLER | http://www.orafaq.com/wiki/SQL * Loader_FAQ #Can_one_skip_certain_columns_while_loading_data.3F] option?

Tags: Database

Similar Questions

  • Create the flat file data from the oracle table

    d_adp_num char (10)
    d_schd_date tank (8)
    d_sched_code tank (25)
    d_pay_code char (50)
    d_mil_start char (4)
    d_mil_end char (4)
    d_duration char (5)
    d_site_code char (4)
    d_dept_id tank (6)

    Select payroll_id,
    schedule_date,
    reason_code, (sched_code)
    reason_code, (pay_code)
    start_time,
    end_time,
    total_hours,
    site_code,
    department_id
    of dept_staff
    where schedule_date between (sysdate + 1) and (sysdate + 90)


    loading data for the date range instead.
    sched_code - if 'Unavailable' reason_code = 'OD' and 'THE '.

    pay_code - "Berevevement BD" If reason_code = "BD".
    "UP PTO without reasonable excuse" If reason_code = 'UP '.
    "RG" If reason_code = "SH".
    "PTO" If reason_code = "GO".
    Here are some...

    start_time and end_time - convert military time
    based on start_ampm and end_ampm

    On this basis, I need help to create a flat file. Sewing of the flat and data file in dept_staff sample

    If site_code is there so no need to get department_id (see the sample flat file)
    ------------------------------------

    examples of data to flat file

    ZZW002324006072012 PTO
    0800160008.00
    ZZW002428106072012 RG
    1015174507.50HM34
    ZZW002391606072012 RG
    1100193008.50
    ZZW002430406072012 RG
    1100193008.50 130000
    ----------------------------

    dept_staff table data

    REASON_CODE_1 PAYROLL_ID SCHEDULE_DATE REASON_CODE START_TIME, END_TIME START_AMPM END_AMPM TOTAL_HOURS SITE_CODE DEPARTMENT_ID
    ZZW0024468 08/06/2012 HS HS 730 HAS 400 850 12 P
    ZZW0000199 08/06/2012 HS HS 730 HAS 400 850 14 P
    ZZW0023551 08/06/2012 SH SH 1145 A 930 975 GH08 95 P
    ZZW0024460 08/06/2012 SH SH 515 HAS 330 P 1025 GH08 95
    ZZW0023787 08/06/2012 SH SH 630 HAS 300 850 24 P
    ZZW0024595 08/06/2012 TR TR 730 HAS 400 850 90 P
    ZZW0023516 08/06/2012 OD OD 800 HAS 400 800 95 P
    ZZW0023784 08/06/2012 OD OD 800 HAS 400 800 5 P
    ZZW0024445 08/06/2012 SH SH 1145 A GH08 930 975 5 P
    ZZW0024525 08/06/2012 OD OD 800 HAS 400 800 23 P
    ZZW0024592 08/06/2012 TR TR 730 HAS 400 850 5 P
    ZZW0024509 08/06/2012 SH SH 95 MK21 830 HAS 330 P 700

    ZZW0023916 06/14/2012 SH SH 1100 A 850 27 730 P

    How to ask questions
    SQL and PL/SQL FAQ

    UTL_FILE allows to write the OS file

  • flat file to flat file with no intermediate loading table...

    Is there that something called a flat file for loading of flat file? For example, I have a file flat source with a few 100 lines, but with a few unwanted spaces. Now, I want to remove the empty spaces and put in another flat file in the flat file target. NO intermediary TABLES of loading / unloading ADMITTED. How is that possible using OWB?

    I guess I can load flat file source, file flat target and logic of expression necessary to get what I want. But I got an error VLD-1111. What I interpret the error, it's that I can't use the file as a table to generate a script.

    How to remedy this situation.

    Hello

    Check the design of map here:
    http://blogs.Oracle.com/warehousebuilder/file_2_file.jpg

    Now in OWB 11 GR 2, you can have the file-to-file card designs flat to flat and use templates of code that allow the mapping to run on an agent (the Agent Control Center), where the file is put in scene can be as light a system you want, for example in the mapping I use MySQL , but might be Derby or Hypersonic SQL, this will allow you to do things in the file as join with other files, transformations etc.

    See you soon
    David

  • Whenever I do a right click on a file I get the error message that Windows Explorer has a problem and needs to close

    original title: problems of files

    Whenever I do a right click on a file I get the error message that Windows Explorer has a problem and needs to close.

    Sometimes, the problem is caused by a third-party extension. ShellExView can be useful to see what shell extensions have been introduced in the Explorer. Lire read on this topic, then scroll down to download the x 86 (32-bit) or x 64 (64 - bit) version here near http://www.nirsoft.net/utils/shexview.html

    When you run it, click the column of company for sequence entries in alphabetical order. Suppose Microsoft entries are in good faith and focus on others. Is something listed that is useless or unknown? If so, select it and click the Red (on top left) task to turn it off. You can find more easy to disable them all and then reactivate (green area) one at a time and Explorer of execution until the culprit is found.

  • I want to save my outlook.pst file but get the following error message:-impossible to copy outlook: the process cannot access the file because another process has locked a portion of the file.

    I want to save my outlook.pst file but get the following error message:-impossible to copy outlook: the process cannot access the file because another process has locked a portion of the file. How can I unlock it please?

    You have Outlook open when you save? You need to close.

    Hope this helps

    Post back if necessary

    ___________________________________________________________

    If this post can help solve your problem, please click the 'bookmark' or 'Yes' to this message button. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I just paid almost $10 to create a PDF from a jpg file, but I did it so that I can change it. Now I find that I needed another Adobe package that would create the pdf AND I would change it. What should I do now?

    I just paid almost $10 to create a PDF from a jpg file, but I did it so that I can change it. Now I find that I needed another Adobe package that would create the pdf AND I would change it. What should I do now?

    If you create a PDF file from an image, it is always a picture, and you cannot change it.

    If the image contains text, then you need to perform the text recognition (OCR) before you can actually change the text.  Acrobat can do that.

  • How to write to an existing file, but replace the data just to the last row

    In my data acquisition system, the columns represent the channels and each represent line analysis of the data for all channels. It is easy to get the file write by add or replace a file exist. But sometimes I want to just overwriting new data in the last line in a file exist. for example: I have DAQ with 10 channels and scan all channels for three times in each race. So my data file will be 10 columns and 3 rows of each run if I put the file "append". next time I want to record the data by "crash" (so a single row of 3 scans) in the same file but just crash to 11th place (so I'm going to keep all the data I had previously). How to do this?

    Hi GPIB Analyzer.

    Why do you need to read the entire file?

    You can:

    -get the size of file with 'Get file size' or 'file info '.

    -set the position of reading with "Set file position.

    You should subtract the file size 1024, define what the position of the file read 1024 bytes. Now analyze this 1 KB of data, find the last line, set the file again, write to the file. No need to read the entire file.

    And as previously stated:

    How Labview should know the last line in the file without looking for him? You can do this research better than a simple brute force attack

  • Querying the oracle table that has a column with the name of "FILE".

    Hi all

    I need to have an oracle table that has the column with the name "FILE".

    I can query all columns with the query "select * from table".

    But I'm not able to use the query "select the table file.

    This table is converted from ms access to oracle and I need to have this column with the name "FILE".

    Any suggestions?

    Thank you

    Abdellaoui

    Hello

    FILE is a keyword from Oracle, so it's not a good name,

    Use FILEDATE, or DATE_FILED, or something else that is not in V$ RESERVED_WORDS. KEYWORD as the name column.

    If you need to use the FILE, then you must use quotation marks.

  • I need to change the size of my image file, but keep the same pixels. Possible?

    I'm trying to upload an image on a mobile advertising platform (Adfonic) with the following requirements: the dimensions of the Image 216 x 36 pixels; 3.0 KB maximum file size; GIF, JPG, PNG supported file formats. I figured out how to change the pixel size, but now my file is too large. I have Photoshop CS4 Extended & Vista.

    I changed the resolution of the file but then changes the size in pixels. What can I do?

    Thank you!

    maven123 wrote:

    I tried as a JPG & a PNG, GIF option was not available or I would have tried it too. It was originally a JPG and when I saved it as a PNG, it was a bit smaller but not enough.

    Try saving your document using "Save for Web" use jpeg and lower quality and all the metadata of the band.   Think that should generate the smallest file possible.

  • Get a preview of image files but not the other files

    In the Finder (or an alternative file manager) is there a way to show previews of image files, but not for the other files?

    With the image files, it will display a preview. With other types of file, a preview is useless and its best to see a standard icon indicating the file type.

    Any decent file on all Linux distributions browser lets you choose Preview vs standard icon based on case by case basis depending on the file type. I can't see how to proceed in the Finder (or the various alternatives as TotalFinder). How can I me Finder for this?

    The thumbnails, you mean? I don't think that there is a 'decent' solution for OS x. But then again, I don't know everything.

    https://www.Apple.com/feedback/MacOSX.html

  • How to recreate the audio to an mp3 file, but only the melody without accompaniment.

    Hello

    Good day to all.

    I'm new here, trying to assess CS6. I need to recreate the audio MP3, but only the melody without accompaniment. much the opposite of a karaoke file. I can this be done? There is a short tutorial on that?

    N ° EC would be black magic. You will need to re-create the composition in a sequencing program, hire a band / Orchestra and record or other.

    Mylenium

  • Need to reduce the size of the PDF file BUT leave the image alone

    Hello

    I noticed that PDF files that are edited a lot tend to accumulate bad objects. I would like to clean my files, but the last time I tried the command "reduce the size of the file. I noticed that in addition to removing the invalid objects (good idea), the image has been compressed (bad idea). It is the resolution of my images is very important, and I don't mind paying the price of having a larger file.

    Y at - it sort of selectively decide what gets 'cleaned' and what is left alone?

    TIA,

    -RFH

    PDDocSave with the 'full register + garbage collection' defined indicators.

  • Xml file for reading in the clob in the staging table column

    Hello

    I am trying to query the intermediate table with the database adapter that has the column type CLOB containing the XML file. How to extract the XML of CLOB and map the fields to the another final scheme variable.

    Thank you

    Published by: chaitu123 on Sep 20, 2009 08:16

    (1) when you create DBAdapter on a table that has the clob column watch closely the xsd created for the DBAdapter cloumn clob element must be a String data type

    (2) create xsd for Xml files and create the variable of the xsd element

    (3) use ora:parseEscapedXML("yourDBAdapterclobElement") for XmlFileVarilable

    Krishna

  • . CBV file type displays the content rather that give download options

    I just changed my Web site hosting provider; old and new providers of Linux services.
    My site is scottishcca.co.uk - a site of chess by correspondence - and I use Win7 and 26.0 Firefox.
    There is a page (members/downloads) where members can download files of games of chess and e-magazines - the page is password protected using htaccess/htpasswd which works well.
    Each e-magazine has 4 download links: pdf, zip and pgn all work fine, but cbv does not - it just displays the contents of the file in the browser page. What needs to happen is that the browser should display a dialog box asking if the file should be opened with ChessBase 11 database software (which is associated with the type of file .cbv on my computer - I checked my default program settings). File .pgn type is also associated with the ChessBase 11 database software and working properly - the dialog box allows me to open or save.
    All the links work correctly when I use Google Chrome.
    I'm puzzled - advice please!
    Iain

    I think I have a solution for this. I went back to my new hosting provider (easyspace) and received this response:
    'Hi Iain,

    I did some research on this for you and have a suggestion for you to try.
    It is possible that Firefox is not to recognize the MIME Type application/cbv, because it is not just a registered IANA MIME Type.
    You could try instead of application/octet-stream, which is a generic MIME Type for non-text files.
    This idea came to me while reading the page at https://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types and this document can give you more of an idea of why this does not work in Firefox.
    Can you try this please and let me know how you go.
    Best regards
    Gerry Munn
    Support services
    I implemented the suggestion of Gerry via .htaccess in my root directory and everything works now (after clearing the cache of Firefox). Maybe you could send Gerry an certificate of ability!

  • VI connects to the file but empty the file when collapsed

    I have a VI that creates colum headdings and then updates the rows with data every second, if I open the file during the execution VI all my data is there but if I stop the VI then open the file only my headdings colum are there.

    I guess that is not complete or save the file when the program stops, but I can not understand.

    Any ideas - I've attached a photo...

    I wish I had known you were using this as a Subvi because now your problem is logical. You have a fundamental misunderstanding of LabVIEW and data flow. Because you used controls and not the references, in the Subvi controls are updated only when your main VI calls this Subvi. The values remain the same until the Subvi is stopped and recalled by hand.

    It would be better to have your Subvi simply writing data - no loop or anything else. The second 1 loop in your hand as a single instance of the creation of the header.

Maybe you are looking for

  • 'between' column empty after updating

    Hello I have conversations 2.7 extension installed and enabled I after updating to TB 3.10, entre column went blank - there is no detail of the people involved in the conversation for each topic. Everything worked before the upgrade. If I disable the

  • Satellite A100: Questions regarding the WiFi printer & router

    My Satellite A100 says he has: Compliance: Wi - FiNetwork support: 802. 11 b / g built-inWireless technology: Wireless LAN I would like to know: (1) I guess that means that if I have a wireless laptop router connects through a kind of indoor antenna

  • driver for g6 1152ex pavilion

    Can you give me the exact driver or suitable for my HP Pavilion 1152ex g6 sorftware. I was trying to download the driver but there are several each hardware driver. I don't know whick one is suitable for my laptop. Here is the hardware ID of my lapto

  • Cannot print using the All in one 924 since filling of cartridges.

    Original title: all-in-one 924 my printer is a dell all-in-one 924 photo and I had my cartridges refilled by a local ink store, however since I brought them home and put them in the printer the printer does not seem to recognize. I don't understand,

  • LabVIEW control LCD by PC parallel port

    Hello world! I'm a beginner and I have a project, control the parallel port on LCD 16 x 2 thought. I wrote a program (not yet order RS and RW E wirtten). Would you please see, is it right or wrong? And could help me to complete it or which could sent