Msg 511, Level 16, State 1, Line 1
Cannot create a row of size 8104 which is greater than the allowable maximum row size of 8060.
How to resolve this error in SQL Server 2008?
Msg 511, Level 16, State 1, Line 1
Cannot create a row of size 8104 which is greater than the allowable maximum row size of 8060.
How to resolve this error in SQL Server 2008?
This fails:
create table dbo.test
(
id char(4000),
id1 char(4100)
)
This works
create table dbo.test
(
id char(4000),
id1 varchar(4100)
)
The issue here is Fixed length data types are restricted to maximum of 8060 bytes (2012) per row. Use variable size data types to overcome this restriction