From: | Fabio Mancinelli <mancinel(at)univaq(dot)it> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | ' escape |
Date: | 1998-12-07 15:31:31 |
Message-ID: | Pine.GSO.3.96.981207162742.896B-100000@brutus |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)univaq(dot)it
Computer Science Student xenon(at)olografix(dot)org
University of L'Aquila WWW : http://univaq.it/~mancinel
(PGP Public Key available) http://www.olografix.org/xenon
A.L.U. Member
From | Date | Subject | |
---|---|---|---|
Next Message | Herouth Maoz | 1998-12-07 16:04:19 | Re: [SQL] ' escape |
Previous Message | joerg.troester | 1998-12-07 14:36:42 | Inheritance and origin of rows |