Data type STRING

Hi all,
i have creted a ztable and in that for one field the length is to be more than 300  chars.
so i am using the data type directly as STRING. i tried to check the table but i am getting warning as 'data type string  not allowed in DB tables'.
plz help what to do.
regards,
siri.

Hi,
    Here is the sample code to store the xml file into ABAP DB table.
First create a table called YTEST_BIN with following fileds.
Filed Nmae      Data Elemen     type      
MANDT             MANDT              CLNT       
DESCRIPTION     HTTPBODY     RAWSTRING
Now create a program to read the XML file from your desktop and load it into the table.
Below given is the code for loading the table.
REPORT  y_store_xml.
DATA: wf_filetab TYPE filetable .
DATA: wf_filerc TYPE i ,
      wf_filename TYPE string ,
      wf_path TYPE string ,
      wf_full_path TYPE string ,
      wf_file_length TYPE i .
DATA: wf_extension TYPE string ,
      wf_fname TYPE string .
DATA: BEGIN OF int_tab1 OCCURS  0,
        int_txt(1000) TYPE x ,
      END OF int_tab1.
DATA: upd_tab TYPE STANDARD TABLE OF ytest_bin .
DATA: wa_upd_tab LIKE LINE OF upd_tab .
DATA: temp_xstring TYPE xstring .
PARAMETERS: p_file LIKE file_table-filename LOWER CASE  VISIBLE LENGTH 80  .
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file .
  PERFORM browse_file CHANGING p_file .
AT SELECTION-SCREEN ON p_file .
  IF p_file IS INITIAL .
    MESSAGE e398(00) WITH
       'Enter Filename and path' .
  ENDIF.
START-OF-SELECTION .
  CLEAR wf_filename .
  MOVE: p_file TO wf_filename .
  PERFORM load_file USING wf_filename .
  PERFORM save_file_contents .
*&      Form  browse_file
      text
     <--P_P_FILE  text
FORM browse_file  CHANGING p_p_file.
  CLEAR wf_filename .
  CALL METHOD cl_gui_frontend_services=>file_open_dialog
    EXPORTING
      window_title            = 'Select the File'
   DEFAULT_EXTENSION       = cl_gui_frontend_services=>FILETYPE_TEXT
   DEFAULT_FILENAME        =
    FILE_FILTER             = cl_gui_frontend_services=>FILETYPE_EXCEL
   INITIAL_DIRECTORY       =
   MULTISELECTION          =
    CHANGING
      file_table              = wf_filetab
      rc                      = wf_filerc
   USER_ACTION             =
    EXCEPTIONS
      file_open_dialog_failed = 1
      cntl_error              = 2
      error_no_gui            = 3
      not_supported_by_gui    = 4
      OTHERS                  = 5
  IF sy-subrc <> 0.
    MESSAGE e398(00) WITH 'Error Opening File' .
  ELSE .
    READ TABLE wf_filetab INDEX 1 INTO p_file .
  ENDIF.
ENDFORM.                    " browse_file
*&      Form  load_file
      text
     -->P_WF_FILENAME  text
FORM load_file  USING    p_wf_filename.
  CLEAR int_tab1 .
  REFRESH int_tab1 .
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      filename                      = p_wf_filename
      filetype                      = 'BIN'
IMPORTING
   filelength                    = wf_file_length
  HEADER                        =
    TABLES
      data_tab                      = int_tab1
   EXCEPTIONS
     file_open_error               = 1
     file_read_error               = 2
     no_batch                      = 3
     gui_refuse_filetransfer       = 4
     invalid_type                  = 5
     no_authority                  = 6
     unknown_error                 = 7
     bad_data_format               = 8
     header_not_allowed            = 9
     separator_not_allowed         = 10
     header_too_long               = 11
     unknown_dp_error              = 12
     access_denied                 = 13
     dp_out_of_memory              = 14
     disk_full                     = 15
     dp_timeout                    = 16
     OTHERS                        = 17
  IF sy-subrc <> 0.
    MESSAGE e398(00) WITH 'File may be open - Error loading' .
  ENDIF.
ENDFORM.                    " load_file
*&      Form  save_file_contents
      text
-->  p1        text
<--  p2        text
FORM save_file_contents .
  CLEAR :wa_upd_tab , temp_xstring .
  LOOP AT int_tab1 .
    CONCATENATE temp_xstring int_tab1-int_txt  INTO temp_xstring  IN BYTE MODE.
  ENDLOOP .
  IF NOT temp_xstring IS INITIAL .
optional
    TRY.
        CALL METHOD cl_abap_gzip=>compress_binary
          EXPORTING
            raw_in   = temp_xstring
          IMPORTING
            gzip_out = wa_upd_tab-description.
      CATCH cx_parameter_invalid_range .
      CATCH cx_sy_buffer_overflow .
      CATCH cx_sy_compression_error .
    ENDTRY.
    APPEND wa_upd_tab TO upd_tab .
  ENDIF .
  IF NOT upd_tab IS INITIAL .
    MODIFY ytest_bin FROM TABLE upd_tab .
    IF sy-subrc EQ 0 .
      MESSAGE i398(00) WITH wf_filename ` Saved!`.
    ENDIF .
  ENDIF.
ENDFORM.                    " save_file_contents
<b>Reward points</b>
Regards

Similar Messages

  • Performance issue while using data type 'STRING'.

    Hello All,
    I have created a table for storing values of different features coming under a particular country. Since the last field 'Value field' have to hold text upto 800characters for some features, i have used the data type 'String' with character length specified as 1000. I am able to store values upto 1000characters using this. Also, the table has to hold lots and lots of value, and it will increase in future also.
    Since i have mentioned the data type as 'String', I have one doubt whether this will affect the performance. Because length of most of the values in my value field is less than 75characters and in some case only it will exceed 700characters. So, my question is whether the 'String' data type will allocate the length which am specifying in the table for each entries, though the values entering is less than the specified length.
    For example, if the value of my value field is 'Very High Complexity' which is of length 20characters, will the space allocation be reduced to 20 or will it be still 1000characters?
    Hope someone can clarify my doubt.
    Thanks In Advance,
    Shino
    Moved to appropriate forum
    Edited by: Rob Burbank on Feb 23, 2009 4:27 PM

    Hi Shino,
    Well it is possible to store using STRING or LCHR in the transparent tables. There are some underlyning facts here:-
    1. You can only have one such field per table
    2. You cannot view them in the se11 / se16 table content browser
    3. You will need to maintain an additional field for storing the length of the STRING or LCHR field.
    Regarding the performance:
    even though ABAP allows storing STRING or LCHR type fields in the transparent tables but as soon as the lenght of the field crosses 255 chars it is not advisable to store it directly in the transperant tables.
    You should store that field in the knowledge repository and only a pointer to the knowledge repository in the transperant table field.
    Anyways, Since you have only one field with such a requirement then i would suggest you use STRING instead of LCHR as in LCHR you will have to mandatorily assign a length (like 1000) so even if you are storing only 20 chars or 300 chars the system will reserve a slot of 1000 chars; this is not with string as in case of string everything would be dynamic.
    The result being that the reading time increases in case of LCHR.
    I Hop this answered your question.
    Regards,
    Sagar.

  • Create data type string

    HI
    There is a way to create date type string using the command
    Create data type "string"...
    I know that I can create data type C but string dont have any restrication so how I can hanlde it ?
    Regards
    Joy

    Hi,
    You can use the create data statement:
    DATA: lo_data TYPE REF TO data.
    FIELD-SYMBOLS: <str> TYPE ANY.
    CREATE DATA lo_data TYPE string.
    ASSIGN lo_data->* TO <str>.
    Here <str> will be of type string.
    Kr,
    m.

  • Problem with data type 'STRING'

    Hi All,
    I have created a table named as zproject_mat and there is a field 'LONG_D' for long description and its size is not limited, so i used 'STRING' data type for this field. But the problem is: when i use this field in where condition with 'SELECT QUERY'  in my abap program , it throws me an error..'The field long_d is a long string , so it cannot be used in WHERE, ON, or having conditions'.
    Can anyone help me regarding this. I dont know which data type will be suitable in both conditions, LONG DESC AND SELECT QUERY.
    Regards
    Rahul

    Hi Rahul,
    As mentioned your Table name is 'zproject_mat' and there is a field 'LONG_D'.
    The field 'LONG_D' will have a Data Element associated with it. Create a new input Data Element & Domain 'ZLONG' of Type CHAR with Length = 1100. This will used in the code.
    For the Table 'zproject_mat', you need to need to break up your field as 'LONG_D1', 'LONG_D2', ........, 'LONG_D5' with Data Element as 'BAPI_MSG'.
    To INSERT data in table:
    In your code, you need to write your logic where the field 'LONG_D' is SPLIT into 5 words and saved in your table against the 5 fields.
    To SELECT data from table:
    In your code, again you need to write your logic where the field 'LONG_D' is SPLIT into 5 words as abaove and pass them to your SELECT query...
    SELECT SINGLE *
    FROM zproject_mat
    INTO wa_zproject_mat
    WHERE long_d1 = v_split1
          AND long_d2 = v_split2........
         AND long_d3 = v_split3.
    The limitation of a table length is 4096 whereas of a field is 255 to make it RFC compatible. Table/Structure fields that are passed via RFC for integration have this limitation and to maintain database standards, these limitations exist.
    Hope this helps.
    Regards,
    Pranav.

  • Demantra - Create New Series - Mdp_matrix - Data Type String Issue

    I created a new series (MDP_matrix) that has the data type as String. The display format is BLANK.
    I was able to load the data into mdp_matrix table for the series i created.
    However, when i look at the series in a worksheet, it does not display the string value. It display zero. for some reason, it considers the series as numeric and not string. Any idea why that would be happening?
    This is on version 7.2 using SQL server/tomcat

    Hi
    1. Have you tried giving display format i.e ###?
    2. Is your server expression something like max (mdp_matrix. column_name)?
    Tks
    MJ

  • Same Input name with different data type cause the reflection exception

    I have a proxy contains couple RFCs. Two RFCs contain an argument named IN_COMPANY_CODE with data type of ZTRE_FX_BUKRSTable. Another RFC contains the same argument name of IN_COMPANY_CODE but hold different data type (String). All RFCs are in the same proxy. Complie and build the application with no issue.
    But when I ran the RFC, it generates the reflection exception below:
    Method SAPProxy1.Z_F_Tre_R_Pre_Trade_Fx can not be reflected. --> There was an error reflecting 'In_Company_Code'. > The XML element named 'IN_5fCOMPANY_--5fCODE' from namespace '' references distinct types System.String and MSTRFOREX.ZTRE_FX_BUKRSTable. Use XML attributes to specify another XML name or namespace for the element or types.
    I realize the conflict introduced by the same name with difference data type. But I would like to know if this is fixable as a bug or if there is any best practice and/or some manual intervention to make it work.

    Please install fix from OSS note 506603. After this, right-click .sapwsdl file and select "Run custom tool".

  • Problem with datetime data type in Web Service

    Hi,
      I created local ABAP proxy based on a WSDL and some of the fields for the SOAP methods has data type datetime:
    name="MsgEndTimeStamp" type="s:dateTime" />
    name="MsgStatus" type="s:string"/>
    Since ABAP stack doesnt support dataTime data type it has created the proxy method with data type STRING.  Now when I call the proxy method (consuming the service) I get an error:
    <CODE>SoapFaultCode:4</CODE>
    <ERRORTEXT>Server was unable to read request. --> There is an error in XML document (1, 626). --> String was not recognized as a valid DateTime.</ERRORTEXT>
    I am sure others have faced the same issue.  Can someone help?
    Thanks

    Thanks but I dont think that link is much relevant to the problems I am facing, because I cannot change the web service definition as it is used by many others.  Also the target application runs on oracle so thats why some of the fields are datetime and I dont want to change that, even if I could.
    I am just stuck in creating the wrapper program to call the service since the SAP converts datetime data type to string and when the messages gets to the application it cannot convert string -> datetime.
    thanks anyway

  • Report - Want to know the maximum length of a character Data Type.

    Hello,
           I have to print some details which is having more than 500 characters. Is it possible to create a variable or workarea with more than 256 characters? Please help me. Its very urgent.
    My actual requirement is to pass this workarea to smartform and print. So the data should be in one work area.
    Regards,
    LIJO

    Hi,
    U can declare the variable of required length for eg.1000 characters like this
    DATA: w_data(1000) TYPE c.
    If u r not sure of how much length u will be getting then better declare the variable with data type string .
    DATA: w_data TYPE string.
    Hope this clarified ur doubt.
    thanks,
    Vinod.

  • How do i add a new data type in this Bubble sort

    i have tried to i add a new String data type (String publisher) but my program has an error.
    please show me
    // libmainsys.java
    // demonstrates bubble sort
    // to run this program: C>java BubbleSortApp
    class ArrayBub
    private String[] a; // ref to array a
    private int nElems; // number of data items
    public ArrayBub(int max) // constructor
    a = new String[max]; // create the array
    nElems = 0; // no items yet
    public void insert(String value) // put element into array
    a[nElems] = value; // insert it
    nElems++; // increment size
    public void display() // displays array contents
    for(int j=0; j<nElems; j++) // for each element,
    System.out.print(a[j] + " "); // display it
    System.out.println("");
    public void bubbleSort()
    int out, in;
    for(out=nElems-1; out>1; out--) // outer loop (backward)
    for(in=0; in<out; in++) // inner loop (forward)
    if( a[in].compareTo(a[in+1])>0 ) // out of order?
    swap(in, in+1); // swap them
    } // end bubbleSort()
    private void swap(int one, int two)
    String temp = new String(a[one]);
    a[one] = a[two];
    a[two] = temp;
    } // end class ArrayBub
    class libmainsys
    public static void main(String[] args)
    int maxSize = 100; // array size
    ArrayBub arr; // reference to array
    arr = new ArrayBub(maxSize); // create the array
    arr.insert("Manuel"); // insert 10 items
    arr.insert("Portillo");
    arr.insert("Kike");
    arr.insert("Pedro");
    arr.insert("Mono");
    arr.insert("Cuca");
    arr.insert("Zoila");
    arr.insert("Karina");
    arr.insert("Joto");
    arr.display(); // display items
    arr.bubbleSort(); // bubble sort them
    arr.display(); // display them again
    } // end main()
    } // end class libmainsys
    /////////////////////////////////////////////

    nope i mean like this
    // libmainsys.java
    // demonstrates bubble sort
    // to run this program: C>java BubbleSortApp
    class ArrayBub
    private String[] a; // ref to array a
    private Sting[] publisher;
    private int nElems; // number of data items
    public ArrayBub(int max) // constructor
    a = new String[max]; // create the array
    nElems = 0; // no items yet
    public void insert(String value) // put element into array
    a[nElems] = value; // insert it
    nElems++; // increment size
    public void display() // displays array contents
    for(int j=0; j<nElems; j++) // for each element,
    System.out.print(a[j] + " "); // display it
    System.out.println("");
    public void bubbleSort()
    int out, in;
    for(out=nElems-1; out>1; out--) // outer loop (backward)
    for(in=0; in<out; in++) // inner loop (forward)
    if( a[in].compareTo(a[in+1])>0 ) // out of order?
    swap(in, in+1); // swap them
    } // end bubbleSort()
    private void swap(int one, int two)
    String temp = new String(a[one]);
    a[one] = a[two];
    a[two] = temp;
    } // end class ArrayBub
    class libmainsys
    public static void main(String[] args)
    int maxSize = 100; // array size
    ArrayBub arr; // reference to array
    arr = new ArrayBub(maxSize); // create the array
    arr.insert("Manuel"); // insert 10 items
    arr.insert("Portillo");
    arr.insert("Kike");
    arr.insert("Pedro");
    arr.insert("Mono");
    arr.insert("Cuca");
    arr.insert("Zoila");
    arr.insert("Karina");
    arr.insert("Joto");
    arr.display(); // display items
    arr.bubbleSort(); // bubble sort them
    arr.display(); // display them again
    } // end main()
    } // end class libmainsys
    but i have no idea what to do next

  • Bea and nvarchar2 data type in oracle

    Does weblogic server supports nvarchar2 data type in Oracle?..
    I use CMP with java data type String mapped to nvarchar2 data type to oracle.when
    i try to create a bean it throws "java.sql.SQLException: ORA-12704: character set
    mismatch". Is there any configuration in the server to set the character set?..
    can anyone help me on this?...

    Does weblogic server supports nvarchar2 data type in Oracle?..
    I use CMP with java data type String mapped to nvarchar2 data type to oracle.when
    i try to create a bean it throws "java.sql.SQLException: ORA-12704: character set
    mismatch". Is there any configuration in the server to set the character set?..
    can anyone help me on this?...

  • Database adapter not importing table having data type as WF_EVENT_T

    Hi All,
    I have a requirement to import a table in the Database adapter. That table is having a column of data type “WF_EVENT_T”.
    When I tried to import the table in database adapter I got the error as "The following tables are not supported in the Database Adapter and were not imported".
    Then I modified the table by adding one more column with some other data type and tried to import that table.
    It got imported successfully but I was not able to see the column with data type WF_EVENT_T in the table.
    Any pointers to this would be of great help.
    Thanks.

    Hi Harish
    Thanks for your response.
    I can create the table with the data type 'String'. However, the problem is when I try to update the table from a program in SE38 or a Function Module in SE37.
    When I try to activate the PROGRAM or FUCNTION, I GET A MESSAGE THAT I MENTIONED EARLIER.
    Here is the simple program that I have created that I am not able to activate
    ==========================================
    REPORT  ZTEST_STRING1.
    tables: ztest.
    ztest-zid = 2.
    ztest-zstring1 = 'ABC'.
    insert ztest.
    ===========================================
    ztest has two fields
    zid which is NUMC type
    and zstring1 which is STRING type.
    When I try to activate I get an error message as follows:
    'ztest' must be a flat structure. You cannot use internal tables,
    strings, references, or structures as components.
    Edited by: Ram Prasad on Mar 20, 2008 6:08 PM

  • Component-data-type

    hi,
    what is the difference between component-data-type,component-item-type and data-type

    what is the difference between component-data-type,component-item-type and data-typeSuppose Student have property hobbies then we use component-data-type="String".
    Suppose Student have property subjects of "subject" item-descriptor" type then we use component-item-type="subject".
    Suppose Student have property *firstName* of type string then we use data-type="String".
    data-type
    {code}
    Example:
    <gsa-template>
         <item-descriptor name="Student">
         ...........some properties......
         <!-- use of component-data-type -->
         <table name="user_hobbies" type="multi" id-column-names="id">
    <property name="hobbies" column-name="hobbies" data-type="set" component-data-type="string"/>
    </table>
    <!-- use of component-item-type -->
    <table name="user_hobbies" type="multi" id-column-names="id">
    <property name="hobbies" column-name="hobbies" data-type="set" component-item-type="subject"/>
    </table>
    <!-- use of data-type -->
    <property name="firstName" column-name="firstName" data-type="String"/>
         </item-descriptor>
         <item-descriptor name="subject".......>
         ...........you may have property like subjectname, subjectcode etc
         </item-descriptor>
    </gsa-template>
    {code}
    For deep study you can follow doc:
    http://docs.oracle.com/cd/E26180_01/Platform.94/RepositoryGuide/html/s0601sqlrepositorydatamodels01.html
    Hope this helps.
    -RMishra
    Edited by: RMishra on Mar 1, 2013 7:35 PM
    Edited by: RMishra on Mar 1, 2013 7:40 PM

  • Runtime conversion of a string value to a primitive data type in java

    can anyone of you give me an idea to convert a string value to a primitive data type during run time...i have the value and the type to which it has to be converted as String values...do you have any idea ,...pls share

    String recvalvalue = inputval;
                    String recvartype = inputtype;
                   if (recvartype.equals("int")){
                   value0 = Integer.parseInt(recvalvalue);
             else
             if (recvartype.equals("double")){
                    value1  = Double.parseDouble(recvalvalue);
             else
             if(recvartype.equals("float")){
              value2 = Float.parseFloat(recvalvalue);
             else
             if(recvartype.equals("Boolean")){
              value3 = Boolean.parseBoolean(recvalvalue);
             else
             if(recvartype.equals("char")){
               value4 = (char)recvalvalue.charAt(0);
            else
            if(recvartype.equals("String")){
              value5 = recvalvalue;
             else
             if(recvartype.equals("byte")){
               value6 = Byte.parseByte(recvalvalue);
                  //listA.add(6, value6);
                  //     listA.g = value6;
             else
              if(recvartype.equals("long")){
               value7 = Long.parseLong(recvalvalue);
             else
              if(recvartype.equals("short")){
              value8 = Short.parseShort(recvalvalue);
             } yes i can do this but the resultant value has to be assigned to a variable of a specific type which is here recvartype .....it has to be done dynamically automatically..if we know what type of data is that we can convert and assign to the type but we donot know when we run the program as the program will be supllied by someone and has to be executed

  • "Schema validation found non-data type errors" error when passing a string value to date field in infopath

    Hi,
    I have an infopath web brower enabled form. In the form i have a date field.
    I am passing the data from the database to that field using the C# code.
    But, as the field from database is coming as string, i am getting an error, and i am not able to assign the value.
    I get the date value from database as "3/25/2011 12:00:00 AM"
    I used the below code:
    [CODE]
    if (objInfopathFormcData.myRecievedDate != null)
      myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager).SetValue(objInfopathFormcData.myRecievedDate);
    [/CODE]
    I am getting the error as "Schema validation found non-data type errors".
    How to set the value for a date field in Infopath.
    Thank you

    HI,
    I fixed it:
    Below code is used to fix:
    [CODE]
    XPathNavigator xfield = null;
    DateTime dtmyRecievedDate;
    dtmyRecievedDate = Convert.ToDateTime(objInfopathFormcData.myRecievedDate);
    if (objFormcData.FcCompletionDate != null)
    xfield = myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager);
    DeleteNil(xfield);
    xfield.SetValue(dtmyRecievedDate.GetDateTimeFormats().GetValue(5).ToString());
    // method to delete xsi:nil
    private void DeleteNil(XPathNavigator nav1)
    if (nav1.MoveToAttribute("nil", "http://www.w3.org/2001/XMLSchema-instance"))
       nav1.DeleteSelf();
    [/CODE]
    Thank you

  • Using sql bulk copy throwing exception -The given value of type String from the data source cannot be converted to type int of the specified target column

    Hi All,
    I am reading notepads files and inserting data in sql tables from the notepad-
    while performing sql bulk copy on this line it throws exception - "bulkcopy.WriteToServer(dt); -"data type related(mentioned in subject )".
    Please go through my  logic and tell me what to change to avoid this error -
    public void Main()
    Dts.TaskResult = (int)ScriptResults.Success;
    string[] filePaths = Directory.GetFiles(@"C:\Users\jainruc\Desktop\Sudhanshu\master_db\Archive\test\content_insert\");
    for (int k = 0; k < filePaths.Length; k++)
    string[] lines = System.IO.File.ReadAllLines(filePaths[k]);
    //table name needs to extract after = sign
    string[] pathArr = filePaths[0].Split('\\');
    string tablename = pathArr[9].Split('.')[0];
    DataTable dt = new DataTable(tablename);
    |
    string[] arrColumns = lines[1].Split(new char[] { '|' });
    foreach (string col in arrColumns)
    dt.Columns.Add(col);
    for (int i = 2; i < lines.Length; i++)
    string[] columnsvals = lines[i].Split(new char[] { '|' });
    DataRow dr = dt.NewRow();
    for (int j = 0; j < columnsvals.Length; j++)
    //Console.Write(columnsvals[j]);
    if (string.IsNullOrEmpty(columnsvals[j]))
    dr[j] = DBNull.Value;
    else
    dr[j] = columnsvals[j];
    dt.Rows.Add(dr);
    SqlConnection conn = new SqlConnection();
    conn.ConnectionString = "Data Source=UI3DATS009X;" + "Initial Catalog=BHI_CSP_DB;" + "User Id=sa;" + "Password=3pp$erv1ce$4";
    conn.Open();
    SqlBulkCopy bulkcopy = new SqlBulkCopy(conn);
    bulkcopy.DestinationTableName = dt.TableName;
    bulkcopy.WriteToServer(dt);
    conn.Close();
    Issue 1:-
    I am reading notepad: getting all column and values in my data table now while inserting for date and time or integer field i need to do explicit conversion how to write for specific column before bulkcopy.WriteToServer(dt);
    Issue 2:- Notepad does not contains all columns nor in specific sequence in that case i can add few column ehich i am doing now but the issue is now data table will add my columns + notepad columns and while inserting how to assign in perticular colums?
    sudhanshu sharma Do good and cast it into river :)

    Hi,
    I think you'll have to do an explicit column mapping if they are not in exact sequence in both source and destination.
    Have a look at this link:
    https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopycolumnmapping(v=vs.110).aspx
    Good Luck!
    Kaur.
    Please mark as answer if this resolves your issue.

Maybe you are looking for

  • Yellow tinted display

    Is anyone else still experiencing a yellow tinted display screen after "restoring" to 5A347? I'm wondering if this problem is isolated to my phone, and it could be exchanged for a new one.

  • F110 posted payment succeffully, but F-58 have bank key problem

    Hi all expert, i posted first payment successfully by using F110. however, i would like to make second payment by using F-58, then system prompt me error message with "Bank data is missing for country SG bank key 641", message no. F5453. if it is ban

  • How to fill PDF form programatically

    Hi everyone, We are automating a web application using QuickTest Pro. In some scenarios we need to fill a PDF form and click 'submit' button. Is there any way we can use Acrobat SDK to automate this process? I really appreciate your help. Thanks and

  • How to find the target host

    Hi All, I need to configure ADS for that I am following steps given in 'ADS configuration guide', according to 5.3.2 step 6 I need to enter the target host ( j2ee engine that runs adobe document services) and  service no. I am not able to find it. Ca

  • Best way to record radio with good so

    bought mainly n200 so i could record my favorite DJ once a week. I recorded from fm and after i recorded the show. The results were the tone of volume had sudden shifts in tone. In additon, some fuzz. tried two dffernt way one the fm recorder and the