Search Postgresql Archives

Re: How to do auto numbering on INT column

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx

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 //


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux