From: | "Frederic boucher" <dziablo(at)hotmail(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | parser :parse error |
Date: | 1999-11-08 11:37:47 |
Message-ID: | 19991108193749.91569.qmail@hotmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi,
I'm trying to create a table with a default value for a field that containt
an 's ... And the server always tell me :
Error : parser: parse error at or near "s"
my create looks like :
create table tablename (
thefield varchar(50) default 'Fred''s car'
);
Any suggestion?
PS: This is more a linux question... but.. If I have a big file that
contains all my sql to create my tables structure. I want to run it by
doing "\i filename" but it scroll so fast I can't see when there is
error... is there a way to do a kind of "pipe into less"
\fb
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Fischer | 1999-11-08 13:27:47 | Creating a index with a timestamp? |
Previous Message | Stoyan Genov | 1999-11-08 09:27:07 | Re: [SQL] Move forward all (Was Re: How to get last 10 rows in a table on a large database?) |