The data field format for the sql* loader

the data field in my data file was surrounded by ",", such as "1","2","3",...
so in my control file, I coded
fields terminated by ',' enclosed by '"'
no error after I execute sqlldr command.
however, on data has been inserted into table either.
if I remove "" and ,
the data field changed to 1 2 3 ...
and the data has been inserted into my table
However the first format is what I want. can anyone experienced silmilar situation? please give me a hint.
your help is highly appreciated
null

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Renali ():
say:
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS (
colname1,
colname2,
colname3)
the data field in my data file was surrounded by ",", such as "1","2","3",...
so in my control file, I coded
fields terminated by ',' enclosed by '"'
no error after I execute sqlldr command.
however, on data has been inserted into table either.
if I remove "" and ,
the data field changed to 1 2 3 ...
and the data has been inserted into my table
However the first format is what I want. can anyone experienced silmilar situation? please give me a hint.
your help is highly appreciated
<HR></BLOCKQUOTE>
null

Similar Messages

  • How to findout the data source information for the perticular tables

    Hi,
    Can you please tell me the process to findout the data source information for the perticular tables .
    For ex.. T2503 ,T2507 ,T25A1,T25A2 etc ..
    I am doing a reverse engineering to find out the data sources build on the above SAP Tables.
    Thanks.

    Hi,
    Still we haven't get the field level information ,before they send us we should first give them the corresponding data sources for the COPA tables which they have given .
    I have searched in help.sap.com but I didn't find any information on this .
    Please let me know is there any way to know the data source details for SAP Tables.
    Thanks

  • How to get the date of Friday for the given week

    HI,
    I have a requirement to get the date of Friday for the given week.
    Eg: I have an input of 200722 (Yearweek), From this I need to get the Date of the friday for this week 22 of Year 2007.
    Plz let me know how to get this..
    Thanks in advance..
    Sridhar.

    Hi,
    Thanks for your reply...
    I have implemented your logic but not getting exact output as required.
    Suppose, If i give the input as 200720, I am getting an output as 18 (friday of week 20 of year 2007), but i need to get an output of 18.05.2007
    Plz let me know how to do thdi.
    Thanks in advance..

  • How do you change the date/currency format for every user in OSX 10.6?

    I imaged a bunch of mac labs at work only to realize the base image has the date/currency set for United States rather then United Kingdom. The regional settings are correct.
    I tried changing it on the local admin account but it does not affect a new user that logs onto an AD account.
    Workgroup manager does not seem to offer anything either unless I am missing it.
    Any ideas?

    Hi Uncle,
    Page 116 of the Pages'09 User Guide: Control Click the date, Edit Date and Time.
    Date and time can also be in a table. Format the table cell.
    The User Guide is well worth a read. Download it from the Help menu in Pages.
    Regards,
    Ian.

  • What is the data source name and the data target name for the table COSP

    Hi,
    Actaully i am new to fico/bw,and i have to create a report based on the actual and budget value and difference in the variance.
    in R/3 side the table they are using is COSP,so please let me know what is the data source name and the cube or ods name in BW side.wht are the fields in which i can get the BUDGET value in the report.
    here we are using all the business content extractors and BI content cubes and odss.
    please reply immediately as its very jurgent isssue.
    Thanks,
    ashok

    answered

  • SAPUI5 : How to set the date value format for DateTimeInput?

    Hi SAPUI5 experts:
    I'd like ask 2 things regarding the control: sap.m.DateTimeInput
    1: Here is I want to do: show the current date (May 1, 2014) in the control in format as "01-05-2014". But by default the following code shows "May 1 2014". How can I show it as "01-05-2014"?
    var oDateTimeInput = new sap.m.DateTimeInput({});
    oDateTimeInput.setDateValue(new Date());                   //shown as "May 1 2014"
    2. Can someone explain what difference is between the following settings of DateTimeInput?
       ValueFormat
       DisplayFormat
    Please write a short code example.
    Thanks very much in advance!
    Br,
    Dong

    Hi,
    to understand ValueFormat and DisplayFormat, you can refer this example from ui5 testsuite sap.m.DateTimeInput and check the source code.
    in one of the example, this is how valueformat and displayformat is used.
    // free style date value assingment according to valueFormat
                                                    dti3 = new sap.m.DateTimeInput({
                                                                    value : "05-29, 2012",
                                                                    valueFormat : "dd-MM, yyyy",
                                                                    displayFormat : "dd MMMM, yyyy",
                                                                    width : "20%",
                                                                    change : function(e) {
                                                                                    console.log(dti3 + " : " + e.getParameters().newValue + " # " + e.getParameters().newDateValue);
    also in both cases, Default value is taken from locale settings.
    Regards,
    Chandra

  • How do I add text to a photo when making a calendar from iPhoto?  I see the text box for the dates but not for the actual photo...thanks.

    I can't find a way to add text to a photo once it's been put into the top pane of the calendar month...is there a way to do this since I'd like to add a descriptor to the photos?  I see the text box when you click on the calendar date, but don't find one for the photo pane.  Thanks for any assistance.

    Right - you can not add text to photos with iPhoto - you must use an external editor
    LN

  • How to set the default print format for the report

    Hi,
    In ALV report , i want to defalut specific print format and printer for background processing .
    Any clues!!!!!!!!!
    Regards
    Swatantra

    Hi
    Please check below code:
    DATA: PRIPAR TYPE PRI_PARAMS,
          ARCPAR TYPE ARC_PARAMS,
          LAY    TYPE PRI_PARAMS-PAART,
          LINES  TYPE PRI_PARAMS-LINCT,
          ROWS   TYPE PRI_PARAMS-LINSZ.
    DATA: val(1).
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = 'LOCL'   " <--- Printer Name
        no_dialog              = 'X'
        immediately            = ' '
      IMPORTING
        out_archive_parameters = arcpar
        out_parameters         = pripar
        valid                  = val
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *** Specifying the page formats
        pripar-linct = 65.
        pripar-linsz = 190.
        pripar-paart = 'X_65_132'.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        in_archive_parameters  = arcpar
        in_parameters          = pripar
        no_dialog              = 'X'
    *      list_name              = 'Testing Purpose Only' "l_list
      IMPORTING
        out_archive_parameters = arcpar
        out_parameters         = pripar
        valid                  = val
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    IF sy-subrc EQ 0.
      NEW-PAGE PRINT ON
      NEW-SECTION
      PARAMETERS pripar
      ARCHIVE PARAMETERS arcpar
      NO DIALOG.
    ELSE.
      write:/ 'Unable to create spool'.
    ENDIF.
    So now a spool is created with the required print parameters...
    The list that is created from here will be in the spool.
    Once the list is completed, close it with NEW-PAGE PRINT OFF.
    Hope this helps.
    Regards
    Eswar

  • I want the table fields name for the screen fields of transactions lm59

    Hi all
      I am enhancing transactions LM58,LM59and  LM 60
      But in that transactions underthe lable of storage bin , there are 3 input fields . I want to know the exact table fields for those 3 input screen fields .

    Ravi,
    OK.
    You can look to tables EKPO, EKKO for PO-related fields.
    Look to SE84 under   ABAP Dictionary > Fields > Table Fields   - This is search tool for existing names.  Or can create custom Y-   and  Z- fields, data elements, domains to meet your needs.
    Please reward points.

  • How can we transfer the date field in to the PO in R/3 from SRM

    Hi,
    We are using classic scenario with SRM release 5.50 and when we create SC using service option we can maintain the delivery date with start and end date in SC. In R/3 ECC 5.0 when the SC is converted as PO the end date is not reflected as we are using the copy of the standard PO document type NB and its taking the start date as the delivery date. How can i get the start and end date reflected to the PO from the SC in srm, do i need to add any customized field in the PO.
    Please suggest.
    Regards
    GGL.

    Hello,
    Did you find an answer to your question?  If so, can you please let me know.
    Thanks,
    Mark

  • Determine Date field format dynamically

    Hello friends,
    I'm writing some database access code in java. The biggest problem I face is date fields. Because I don't know the date field format (For example, in SQL Sever we can have dd/mm/yy or mm/dd/yy, etc), I can't format dates for insert/update statements.
    Is there a way to determine the date field format dynamically? Regardless of database, for ex. MS SQL, Oracle?
    Thank you.

    Hey!
    There is a way to do this! The Oracle Database understands SQL92 Syntax. So you can use
    - {d ?yyyy-mm-dd?} for date representation,
    - {t ?hh:mm:ss?} for time representation,
    - {ts ?yyyy-mm-dd hh:mm:ss.f...?} for timestamp rep.
    Here is a small example:
    // Connect to the database
    // You can put a database name after the @ sign in the connection URL.
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:oci8:@", "scott", "tiger");
    // Create a Statement
    Statement stmt = conn.createStatement ();
    // Select the ename column from the emp table where the hiredate is Jan-23-1982
    ResultSet rset = stmt.executeQuery
    ("SELECT ename FROM emp WHERE hiredate = {d ?1982-01-23?}");
    // Iterate through the result and print the employee names
    while (rset.next ())
    System.out.println (rset.getString (1));I hope this is what you wanted to know!

  • DTW error message - Data too large for the field65171

    Am trying to run up General Legder Accounts using DTW in Version 8.8 and have been successful with Level 2.  The customer has three levels only.  The total number of characters for the various segments is 18 and I have double and triple checked that the column "Code" has exactly 18 characters.  Even used "=trim" in Excel several times.
    When I run DTW for level 3 it errors out and it displays the above error message.  What is field 65171???
    I thought DTW was supposed to be so much improved with 8.8 - where are help files that tell you what the errors are???
    Regards - Zal

    Hi ZAL,
    I am facing this error too when exporting chart of account through DTW SAP 8.8 PL 19, although some of accounts are imported but in somme accounts saying the " data too large for the filed65171".
    Account code is of 7, as it reuires 9 Max,
    Please suggest me on this .
    Regards
    rps

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • Setting date format for the entire SQL Server installation - SQL Server 2008 R2-2012

    Hi,
    I need to safeguard the behaviour of SQL codes that inserting into SQL tables with some date columns. For this purpose, I need to change the date format for the SQL instance and not using CONVERT and CAST.
    I've seen the SET DATE FORMAT statement, but if I use it, could I solve my problem?
    Thanks

    The language setting is related to the database user.
    BOL: "DEFAULT_LANGUAGE = { NONE | <lcid> | <language name> | <language alias> }              
    Specifies the default language for the new user. If a default language is specified for the user and the default language of the database is later changed, the users default language remains as specified.
    If no default language is specified, the default language for the user will be the default language of the database. If the default language for the user is not specified and the default language of the database is later changed, the default
    language of the user will change to the new default language for the database."
    LINK: http://technet.microsoft.com/en-us/library/ms173463.aspx
    The default language setting can be overridden by SET LANGUAGE for the session:
    http://technet.microsoft.com/en-us/library/ms174398.aspx
    Example:
    SET LANGUAGE us_english; -- mdy
    SELECT CAST ('12/13/2014' as DATE); -- 2014-12-13
    GO
    SET LANGUAGE british; -- dmy
    SELECT CAST ('12/13/2014' as DATE);
    GO
    (1 row(s) affected)
    Changed language setting to British.
    Msg 241, Level 16, State 1, Line 2
    Conversion failed when converting date and/or time from character string.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    I have a numbers spreadsheet for tracking company data.  I want to copy the format of the spreadsheet (rows, columns,and formulas) but have all of the data fields be blank for the new year.  How do I do that?

    click and hold on one cell, then drag to select the range, then release, then type the delete key.  Only inlude cells in the range you do not want to keey the contents of the cell.  You can remove one-off cells by holding the command key and clicking cells to add or remove as needed.
    You can download the Numbers users guide here:
    http://support.apple.com/manuals/#productivitysoftware

Maybe you are looking for

  • How to see the object while moving on the artboard?

    hello everyone; maybe a silly question; how to see the object while moving on the artboard? i dont wanna see only the objects bounding box(outline of the object). i wanna see the object it self. thank you.

  • How to tell if my dc7800 motherboard is bad?

    I purchased a used DC7800 CMT from ebay.  It had not HDD and little RAM.  I have 4 Gigs of RAM on it.  I have a HDD and I used XP a while back and dual boot with Ubuntu.  My problem is that after running the machine for about 20 minutes the USB keybo

  • How to find out the stop words of an index?

    I am sure it's something very easy but: I want to find out the stop words that i am using in a particular index via SQL query? I had several indexes with diferent stoplists. Thanks

  • Need SQL query to get the result.

    Region Month Trx Type Resolution Summary AMERICAS May-13 Adjustments Correct EMEA May-13 Adjustments Incorrect AMERICAS May-13 Credit Memo Incorrect EMEA May-13 Invoice Correct AMERICAS May-13 Credit Memo Correct OFD May-13 Adjustments Correct AMERIC

  • Nokia X store in Chinese after upgrade

    Hello,  After upgrading Nokia X to version Software version 1.1.2.2 from the System updates menu in the phone, from some reason the Store application is now in Chinese.  How to swich it back to English ? Solved! Go to Solution.