I have a table named CustomerAddr. The table is for a user to enter customer's address information. One column named StNumber should only allow numeric characters ex. 0-9 just like a phone number, however the user entering the customers address information can put any characters; such as alpha, special characters etc.
I want the column StNumber to ONLY accept numeric values 0-9 four characters max. If the user should try to enter anything but a number in the customers address information screen it should be blocked. I changed the data type for StNumber to numeric(5) but the user still can enter any character.
Help would be great.