Work around SQL Server maximum columns limit 1024 and 8kb record size

前端 未结 7 1168
北海茫月
北海茫月 2020-12-01 05:46

I am creating a table with 1000 columns. Most of the columns are nvarchar type. Table is created, but with a warning

Warning: The t

7条回答
  •  一向
    一向 (楼主)
    2020-12-01 06:08

    Max Columns per 'nonwide' table: 1,024 Max Columns per 'wide' table: 30,000

    Although what is exactly the case you require this number per single table ? It's highly recommended to partition your table vertically several times to get better performance and easier development.

提交回复
热议问题