Re: Tidying values on variable instantiation

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Re: Tidying values on variable instantiation
Дата
Msg-id 60r7cglksd.fsf@dba2.int.libertyrms.com
обсуждение исходный текст
Ответ на Tidying values on variable instantiation  ("Bath, David" <dave.bath@unix.net>)
Список pgsql-sql
gpatnude@hotmail.com ("Greg Patnude") writes:
> Data validation and purification should be performed at the
> application layer -- you should format your data appropriately
> BEFORE trying any INSERT/UPDATE operations.

It seems to me that one might create some stored functions that can do
some validation/purification which, by virtue of residing in the
database, have the ability to efficiently access other data in order
to do data-based validation.

I know I have found that to be a useful approach...
-- 
"cbbrowne","@","ntlug.org"
http://cbbrowne.com/info/linuxdistributions.html
"The day Microsoft  makes something that doesn't suck  is probably the
day they start making vacuum cleaners" - Ernst Jan Plugge


В списке pgsql-sql по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Tidying values on variable instantiation
Следующее
От: Chris Browne
Дата:
Сообщение: Re: Tidying values on variable instantiation