Re: replace " with nothing

Поиск
Список
Период
Сортировка
От Ross J. Reedstrom
Тема Re: replace " with nothing
Дата
Msg-id 20110511212533.GB4796@rice.edu
обсуждение исходный текст
Ответ на Re: replace " with nothing  (Leif Biberg Kristensen <leif@solumslekt.org>)
Ответы Re: replace " with nothing  (Leif Biberg Kristensen <leif@solumslekt.org>)
Список pgsql-sql
On Wed, May 11, 2011 at 11:11:07PM +0200, Leif Biberg Kristensen wrote:
> 
> although it's a little above me why you would want to select firstname in the 
> first place when you proceed to replace it with nothing.

Nah, he's replacing double-quote-character " with nothing.

An attempt to protect against little Bobby Tables, I assume. (see:
http://xkcd.com/327/ aka SQL injection attacks, but not as fun)

Ross
-- 
Ross Reedstrom, Ph.D.                                 reedstrm@rice.edu
Systems Engineer & Admin, Research Scientist        phone: 713-348-6166
Connexions                  http://cnx.org            fax: 713-348-3665
Rice University MS-375, Houston, TX 77005
GPG Key fingerprint = F023 82C8 9B0E 2CC6 0D8E  F888 D3AE 810E 88F0 BEDE


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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: replace " with nothing
Следующее
От: Leif Biberg Kristensen
Дата:
Сообщение: Re: replace " with nothing