What is the best way to store a large amount of text in a SQL server table?

前端 未结 8 478
日久生厌
日久生厌 2020-12-15 15:19

What is the best way to store a large amount of text in a table in SQL server?

Is varchar(max) reliable?

8条回答
  •  爱一瞬间的悲伤
    2020-12-15 15:40

    In SQL 2005 and higher, VARCHAR(MAX) is indeed the preferred method. The TEXT type is still available, but primarily for backward compatibility with SQL 2000 and lower.

提交回复
热议问题