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

it's simple to write a check constraint for validating male female for instance
but in a GUI it's simpler to specify a radio check box

the question is choose and with specifying reasons

2007-01-24 20:27:41 · 1 answers · asked by Rami 5 in Computers & Internet Programming & Design

1 answers

I think I know what you are asking. Yes, it is easy to create a check constraint, and yes it is also easy to just present the user with a radio button. These two seem redundent.

The more validation you can have on data, the better off you will be. If that validation comes both with a UI and at the database level then that's okay too. This is especially true if the data in the database is ever going to be manipulated without using the UI.

Take it from those of us that learned the hard way. VALIDATE, VALIDATE and VALIDATE some more.

2007-01-25 00:15:47 · answer #1 · answered by Doug k 3 · 1 0

fedest.com, questions and answers