SQL Server Text Datatype Maxlength = 65,535?

前端 未结 5 1808
忘掉有多难
忘掉有多难 2020-12-10 16:32

Software I\'m working with uses a text field to store XML. From my searches online, the text datatype is supposed to hold 2^31 - 1 characters. Currently SQL Server is trunca

5条回答
  •  攒了一身酷
    2020-12-10 16:45

    You should have a look at

    • XML Support in Microsoft SQL Server 2005
    • Beginning SQL Server 2005 XML Programming

    So I would rather try to use the data type appropriate for the use. Not make a datatype fit your use from a previous version.

提交回复
热议问题