I am working on a C# application. I use an embedded SQL Server CE database.
I want to store long text data in that database, but there is limit of 4000 char on the nvarchar
datatype in the SQL Server CE database ( .sdf
).
Is there any solution for it? How can I store long text data in embedded C# application? or should i go for any other embedded database?
You can use the ntext
data type in the SQL Server CE database.
This MSDN page contains more information:
ntext: Variable-length Unicode data with a maximum length of (2^30–2)/2 (536,870,911) characters. Storage size, in bytes, is two times the number of characters entered.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.