From: Rebekah Kirk <rebekah.kirk@patersons.net>
To: pgsql-sql@postgresql.org
Subject: Stupid Question
Date: Tue, 2 Oct 2001 10:55:35 +0100
Message-ID: <9pc2t6$31ga$1@news.tht.net> (raw)
I want to create a table and for whatever reason it will not accept the
command, can anyone say what is wrong as I am very new to Postgres, thanks:
CREATE TABLE cmpnycontacts (
ContactNo integer(10) NOT NULL SERIAL,
CmpnyNo varchar(6) NOT NULL,
FirstName varchar(30) NOT NULL,
Surname varchar(30) NOT NULL,
Phone varchar(20) NOT NULL,
Mobile varchar(20) NOT NULL,
Email varchar(40) NOT NULL,
Country char(2) NOT NULL,
CONSTRAINT cmpnycontacts_pkey PRIMARY KEY (ContactNo)
);
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: rebekah.kirk@patersons.net
Subject: Re: Stupid Question
In-Reply-To: <9pc2t6$31ga$1@news.tht.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox