0

specifying minimum number of characters in a column

what if I want my password column for instance to have a minimum number of characters rather than a maximum is there a data type for this?

23rd Jun 2016, 5:09 AM
Alex Hoy
Alex Hoy - avatar
3 Answers
+ 2
search for CHECK constraint. You can try specify with it
25th Jun 2016, 1:53 AM
Lucas Portela
Lucas Portela - avatar
0
first you have to put youbId not null,so it will require a value for this instance
23rd Jun 2016, 10:46 AM
Domingos Inacio Caetano
Domingos Inacio Caetano - avatar
0
You can specify varchar data type. It will only use space corresponding to the data inserted.
23rd Jun 2016, 5:21 PM
Tijo Joseph
Tijo Joseph - avatar