Sunday, December 16, 2012

NVARCHAR(max) in MSSQL is flagged as Insecure Randomness in HP Fortify.

I found this in Googling which suggests that such a type can contain up to 1,073,741,822 characters. Many other threads suggest that the maximum length is 4000. This is one of them. Hmmm...

I suppose I'm going to use NVARCHAR(4000) everywhere NVARCHAR(max) is used to best the HP Fortify error.

No comments:

Post a Comment