Any hidden pitfalls changing a column from varchar(8000) to varchar(max)?

后端 未结 3 2106

I have a lot (over a thousand places) of legacy T-SQL code that only makes INSERTs into a varchar(8000) column in a utility table. Our ne

3条回答
  •  逝去的感伤
    2021-02-20 12:44

    Crystal Reports 12 (and other versions, as far as I know) doesn't handle varchar(max) properly and interprets it as varchar(255) which leads to truncated data in reports.

    So if you're using Crystal Reports, thats a disadvantage to varchar(max). Or a disadvantage to using Crystal, to be precise.

    See:
    http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=5843&PID=17503
    http://michaeltbeeitprof.blogspot.com/2010/05/crystal-xi-and-varcharmax-aka-memo.html

提交回复
热议问题