' escape

Поиск
Список
Период
Сортировка
Искать
От
Fabio Mancinelli
Тема
' escape
Дата
Msg-id
Pine.GSO.3.96.981207162742.896B-100000@brutus
Список
Дерево обсуждения
' escape Fabio Mancinelli <mancinel@univaq.it>
Re: [SQL] ' escape Bruce Momjian <maillist@candle.pha.pa.us>
Re: [SQL] ' escape Herouth Maoz <herouth@oumail.openu.ac.il>
Re: [SQL] ' escape jwieck@debis.com (Jan Wieck)
Re: [SQL] ' escape Bruce Momjian <maillist@candle.pha.pa.us>
Re: [SQL] ' escape jwieck@debis.com (Jan Wieck)
Re: [SQL] ' escape Herouth Maoz <herouth@oumail.openu.ac.il>

Hello all

I have a question. When I create a table I cannot use any escape to put a
' character in the default field definition.

CREATE TABLE Test (name varchar(128) default 'Something with '' into');

Fails. I've tried also other alternatives :
default "Something with ' into"
default "Something with '' into"
default 'Something with \' into'
default 'Something with \27 into'
default 'Something with \0x27 into'

Everything fails.

How can I set a default with a string containing a ' ?

Thank you all.

Bye

----------------------------------------------------------------------------
 Greetings from Fabio Mancinelli   E-Mail : mancinel@univaq.it
 Computer Science Student                   xenon@olografix.org
 University of L'Aquila               WWW : http://univaq.it/~mancinel
 (PGP Public Key available)                 http://www.olografix.org/xenon
 A.L.U. Member

В списке pgsql-sql по дате отправления
От: joerg.troester@gmx.net
Дата:
Сообщение: Inheritance and origin of rows
От: Herouth Maoz
Дата:
Сообщение: Re: [SQL] ' escape
FAQ