Results 1 to 2 of 2

Thread: A blank in char column

  1. #1
    Stella Liu Guest

    A blank in char column

    Hi All,

    I put a blank or ‘0’ in one of column of a text file and then I used BCP to load this file to a table of SQL server 6.5. The field in SQL server table is char type with size 1. After I run this process, all rows with this column received ‘0’ and no blank or null at a black value place. Could you please help me to fix this problem and make some of rows in the column get a blank or null value.


    TIA.

    Stella Liu


  2. #2
    Ray Miao Guest

    A blank in char column (reply)

    Does the column allow null?


    ------------
    Stella Liu at 6/2/00 1:18:23 PM

    Hi All,

    I put a blank or ‘0’ in one of column of a text file and then I used BCP to load this file to a table of SQL server 6.5. The field in SQL server table is char type with size 1. After I run this process, all rows with this column received ‘0’ and no blank or null at a black value place. Could you please help me to fix this problem and make some of rows in the column get a blank or null value.


    TIA.

    Stella Liu


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •