Data truncated after 255 bytes while using Microsoft.Ace.Oledb.12.0 provider

前端 未结 5 806
抹茶落季
抹茶落季 2021-01-21 04:43

I am reading an excel sheet using the ACE provider and certain cells contain data greater than 255 bytes. I tried changing the TypeGuessRows in the registry settings as well as

5条回答
  •  独厮守ぢ
    2021-01-21 05:35

    refer this link. I think this is the problem (try with Memo fields)

    http://allenbrowne.com/ser-63.html

    In Access tables, Text fields are limited to 255 characters,but Memo fields can handle 64,000 characters (about 8 pages of single-spaced text)

    Nice workaround: have a look at this stack answer

提交回复
热议问题