Re: Special characters in SQL queries

Поиск
Список
Период
Сортировка
От Vernon Wu
Тема Re: Special characters in SQL queries
Дата
Msg-id WTXVVUJGX3286IDIG87B697UXR87BA.3e6ea975@kimiko
обсуждение исходный текст
Ответ на Re: Special characters in SQL queries  (Christoph Haller <ch@rodos.fzk.de>)
Ответы Re: Special characters in SQL queries
Re: Special characters in SQL queries
Список pgsql-sql
Thank Christoph for your information.

I don't program in C at all, but Java. Although I can make a way to call the C library function from Java, it isn't
suitable
 
solution, I believe.

I only desire to find out all the type of characters at the present time so that I can strip out any potential problem
sources
 
in text. Who know what characters a user will enter.

Vernon  

11/03/2003 7:32:33 AM, Christoph Haller <ch@rodos.fzk.de> wrote:

>>
>> First a single quote in text, when a backforward slash in a file path,
>what other special characters need padded in t
>wo
>> backslashes before using the data in a SQL statement?
>>
>> After hours' search in the PostgreSQL archive, I find a releted
>information on the http://www.ca.postgresql.org/users
>-
>> lounge/docs/7.2/postgres/arrays.html.  It's about array data though.
>>
>> How can I find out those characters so that I can pre-process them
>before a SQL query?
>>
>What about
>size_t PQescapeString (char *to, const char *from, size_t length);
>from the  libpq - C Library?
>
>Regards, Christoph
>
>
>





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

Предыдущее
От: patrick
Дата:
Сообщение: converting time_t to timestamp?
Следующее
От: Rudi Starcevic
Дата:
Сообщение: Table Updates ..