[Asterisk-Users] OT: Best DB
Jon Gabrielson
jon at directfreight.com
Tue Mar 15 18:04:28 MST 2005
On Tuesday 15 March 2005 06:34 pm, Robert Hajime Lanning wrote:
> <quote who="Giudice, Salvatore">
>
> > So, let me see if I am right. You run a support shop? You want your
> > database to validate your data for you instead of leaving that logic
> > to
> > your application? Usually, a database is considered to be an asset
> > worth
> > protecting from unvalidated user input. Also, do you routinely try to
> > insert text strings into fields, which are not created large enough to
> > accept these strings? This is somewhat disturbing.
>
> Data validation should be done at all levels. Period.
Validating the SAME data at each level greatly decreases your speed.
It is much simpler and easier to just validate it first.
Jon.
More information about the asterisk-users
mailing list