After using lots of SQL Server
and SQL Server Compact
, I have recently started to use Sqlite
. I'm currently creating tables in Sqlite and have noticed that there doesn't seem to be any need to input the string length limit when defining string columns. In SQL Server
a 255-character string datatype is defined like: varchar(255)
. In SQL Server Compact
it is defined like: nvarchar(255)
.
However, in Sqlite
, it appears that the column datatype can be defined simply as text
, without inputting any size limit. Is there a way to define a size limit in sqlite? Or is this not even necessary?