Should I use an inline varchar(max) column or store it in a separate table?

后端 未结 6 1654
[愿得一人]
[愿得一人] 2020-12-02 23:43

I want to create a table in MS SQL Server 2005 to record details of certain system operations. As you can see from the table design below, every column apart from Deta

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-03 00:30

    Keep it inline. The whole point of varchar is that it takes up 0 bytes if it's empty, 4 bytes for 'Hello', and so on.

提交回复
热议问题