Stupid Question

From: "Rebekah Kirk" <rebekah(dot)kirk(at)patersons(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Stupid Question
Date: 2001-10-02 09:55:35
Message-ID: 9pc2t6$31ga$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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)
);

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Nils Zonneveld 2001-10-02 10:30:12 Re: Stupid Question
Previous Message Tom Lane 2001-10-02 05:07:41 Re: using SQL to evaluate arbitrary expressions?