sql best data type for alphanumeric code example
Example: sqlserver datatype for single alphanumeric character
As per the standard, there’s:
char(n) where every string is n characters long, no shorter and no longer.
varchar(n) where every string is at most n characters long, but my be shorter.