I am designing table in SQL Server 2008 R2 SP2 Express database. I created table with nvarchar
column for data and tinyint
column for auto-incrementing identity assuming there will be no more than few rows (that's why I choose 0-255 tinyint
). When I add more than 255 rows, this error keeps occurring permanently even after I delete all rows in that table and try to add one new row. I am doing this using SQL Server Management Studio Express.
- How to force database engine to check what indexes are free?
- Will this happen too if I change
tinyint
toint
and reach limit ofint
number?