OK, say you want need an alphanumeric field for something like a product code, grab yourself a string datatype and add a regular expression similar to;
In this particular example,
- [A-Z0-9] allows only UPPERCASE letters from A-Z OR numeric values between 0 and 9
- {2,10} length is restricted to a minimum of 2 and maximum of 10
Valid
- 12345ABCDE
- M12
- SHOES115
- F1DEF
Invalid
- 12345ABCDEF
- M
- 9
- f1def