Problem : Need to understand the Warning: Row size (2494 bytes) could exceed row size limit, which is 1964 bytes.

Problem : Need to understand the Warning: Row size (2494 bytes) could exceed row size limit, which is 1964 bytes.

Hi All,
Iam using Sybase ASE 12.5 .While change the structure of the below sybase table using alter scripts I am getting the warning message “Row size (4494 bytes) could exceed row size limit, which is 1964 bytes.”

Existing table : BDS_TEMP_ENROLL

GRGR_ID                        char                                     8        NULL
SGSG_ID                        char                                     4        NULL
SBSB_ID                        char                                     9        NULL
MEME_SFX                       char                                     2        NULL
FIRST_NAME                     char                                    15        NULL
D_CERT_T1                 varchar                               70        NULL
D_CERT_T2                 varchar                               70        NULL
D_CERT_T3                 varchar                               70        NULL
D_CERT_T4            varchar                               70        NULL
PDS_DESC                      char                               70        NULL

Structure of New  table : BDS_TEMP_ENROLL (After running ALTER scripts)

GRGR_ID                        char                                     8        NULL
SGSG_ID                        char                                     4        NULL
SBSB_ID                        char                                     9        NULL
MEME_SFX                       char                                     2        NULL
FIRST_NAME                     char                                    15        NULL
D_CERT_T1                 varchar                               1000        NULL
D_CERT_T2                 varchar                               1000        NULL
D_CERT_T3                 varchar                               1000        NULL
D_CERT_T4            varchar                               1000        NULL
PDS_DESC                      char                               70        NULL

Even though the structure of the table is changed with the alter scripts, I am worried about the warning msg. I am pretty sure that fields D_CERT_T1,D_CERT_T2,D_CERT_T3,D_CERT_T4 will never use the 1000 char limit defined but I want to still have this defined with 1000 char. Can I ignore this warning msg? Please advice.


Solution: Need to understand the Warning: Row size (2494 bytes) could exceed row size limit, which is 1964 bytes.

Well, it is more “row size can’t exceed row size limit, which depends on the page size and lock scheme”
see dbcc serverlimits for the exact limits.