From: | Alban Hertroys <alban(at)magproductions(dot)nl> |
---|---|
To: | Junkone <junkone1(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: How to do auto numbering on INT column |
Date: | 2006-08-11 09:24:12 |
Message-ID: | 44DC4CBC.6030504@magproductions.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Junkone wrote:
> CREATE TABLE "SYMBOL"
> (
> "SYMBOL_ID" int4 NOT NULL,
> "SYMBOL2EXCHANGE" int2 NOT NULL,
> "SYMBOL_ALIAS" text[],
> "RELATED_SYMBOLS_OTHER_EXCHANGES" int8[],
> "SYMBOL_NAME" text,
> "COMPANY_NAME" text,
> "SYMBOL2SECTOR" int2,
> "SYMBOL2INDUSTRY" int4,
> "STOCK_SUMMARY" text
> )
I think you'll want to remove all those double-quotes. They make your
table and column names case sensitive. You'd need to quote these in your
queries as well, if you stay with what pgadmin (apparently) created.
--
Alban Hertroys
alban(at)magproductions(dot)nl
magproductions b.v.
T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
7500 AK Enschede
// Integrate Your World //
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-08-11 09:24:52 | Re: database file encryption |
Previous Message | Jasbinder Bali | 2006-08-11 08:01:28 | Re: Unable to connect to PostgreSQL 8 from PGAdmin III |