Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

sequences in schemas


  • From: Joe Maldonado <jmaldonado(at)webehosting(dot)biz>
  • To: pgsql-general(at)postgresql(dot)org
  • Subject: sequences in schemas
  • Date: Tue, 31 Aug 2004 11:09:07 -0400
  • Message-id: <41349493.60307@webehosting.biz> <text/plain>

Hello,
How come within a create schema block I cannot create a sequence?
I have entered in:

CREATE SCHEMA joe
   CREATE SEQUENCE joe_seq start 1
   CREATE TABLE joe_table (int id, varchar name)
;

and I get a syntax error for SEQUENCE. though if it is just tables I do not

-Joe



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group