We are also having similar requirement. We want to know if we can do something while setting maxlength of entity, which will internally force OutSystems to use nvarchar(max).As you are aware of nvarchar(max) size is 2GB.
Hello Uddesh,
OS platform generates a nvarchar(max) type field whenever you define an attribute with the type text, and a length >= 2000.
João Batista wrote:
just a quick correction, it needs to be higher than 2000, not equal.
Thanks :)
But would defining it as length 2000 give you unlimited text, (as per nvarchar(max)) or limit it to 2000?
NathanHobbs wrote:
It will limit it to 2000, if you don't know how much is the limit or you don't want a limit, you could use a binary data field and transforms it with actions BinaryDataToText and TextToBinaryData.