DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: 11 characters in VARCHAR2(CHAR 10)

  1. #1
    Join Date
    Jan 2001
    Posts
    515

    11 characters in VARCHAR2(CHAR 10)

    I have a database (9.2.0.6) with an account number field specified as VARCHAR2(CHAR10).

    I look in the table and I see 11 digit account numbers. How is that possible? Am I missing something?

  2. #2
    Join Date
    Jan 2000
    Location
    Chester, England.
    Posts
    818
    Can you DESCribe the table for us, and then SELECT a column that illustrates this?

    Thanks

  3. #3
    Join Date
    Mar 2006
    Posts
    74
    Quote Originally Posted by lesstjm
    I have a database (9.2.0.6) with an account number field specified as VARCHAR2(CHAR10).
    You mean VARCHAR2(10 CHAR) ?

    I look in the table and I see 11 digit account numbers. How is that possible? Am I missing something?
    Maybe, you cant count or the stored values use characters from fonts that look like double numbers, because 10 char is 10 characters, regardless of the unicode bytes needed to make that charactere

  4. #4
    Join Date
    Jan 2001
    Posts
    515

    SQLLdr Issue

    It seems that in 10.2.0.3 when direct=true it lets in the 11 characters. We tested and were able to reporoduce the issue

  5. #5
    Join Date
    Mar 2006
    Posts
    74
    interesting. how are you putting these numbers in?

    does it also happen with BYTE length semantic?

  6. #6
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote Originally Posted by lesstjm
    It seems that in 10.2.0.3 when direct=true it lets in the 11 characters. We tested and were able to reporoduce the issue
    Publish your case so others can replicate it.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

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


Click Here to Expand Forum to Full Width