English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

5 answers

In the database design you can add default constraints on columns to avoid data entry errors but usually the front end application that is used to capture the data does most of the validation and disallows saving of that which means the database is left untouched until the correct information is entered.

2006-11-07 19:17:16 · answer #1 · answered by Instinct_Chick 2 · 0 0

Validate the entries in the form before committing the data to the database like checking for the format of phone numbers SSN, ZIP dates etc.

2006-11-07 19:06:49 · answer #2 · answered by Alex G 6 · 0 0

Enforce foreign constraints in SQL when setting up a blank database. Other than that it is not in the domain of designing a DB but creating the program that interact with the DB.

2006-11-07 18:46:22 · answer #3 · answered by Andy T 7 · 0 0

DB can check duplication by using identity or Primary Key.
But to check Data entry Pattern or even lenght it is a bit difficult.

Its ussualy done at Interface level (Application or Web).
Application Program or web progrram can be set a filter by checking pattern and lenght of input(data entry).

Pattern sample
IsAlfanumeric
Isnumeric

IF using VB there few symbol is defined pattern #(single numeric) ?(singlealphanumeric) * (any length alphanumeric and
other charcter)

2006-11-07 19:11:02 · answer #4 · answered by safrodin 3 · 0 0

enforce foreign places constraints in sq. on an identical time as installation a sparkling database. different than that it is not contained interior the component of designing a DB yet starting to be this technique that artwork mutually with the DB.

2016-11-28 02:55:50 · answer #5 · answered by ? 4 · 0 0

fedest.com, questions and answers