This line will be the recipe (cooking) description field, and the maximum length should be something that 99% of users should not encounter. nvarchar (4000) seems like it is probably too restrictive.
Is the SQL table column the right place for this? He does not consider it appropriate to store such a (potentially) significant value in such a field, but perhaps not?
Not sure if this is important, but .NET 3.5 is likely to use LINQ2SQL.
Edit: using VS Express Database Explorer to create tables, this tells me that 4000 is the maximum size for nvarchar (it looks like varchar is not specified as an option). Is it just a limitation of SQLCE and an indication that I will have to look at something else?
If it is true that this is an SQLCE limitation, does anyone have any other recommendation? For a pet project, I have to be something free and, preferably, easy to set up (preferably both for me and the end user, but more important to make it easy to configure for the end user). The database will be local and performance is not too important.
source share