Probleme on ALTER

From: Mickaël Jouanne <m(dot)jouanne(at)apr-job(dot)com>
To: pgsql-general(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: Probleme on ALTER
Date: 2000-11-08 16:35:13
Message-ID: 20001108173513.A15211@apr-job.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Hello !

I have this table :

Attribute | Type | Modifier
-----------------+--------------+---------------------------------------
ref | integer | default nextval('cvdb_ref_seq'::text)
nom | varchar(50) |
prenom | varchar(50) |
email | varchar(100) |
password | varchar(20) |

but i forgot to do "NOT NULL" on the fields.

I try ALTER table ALTER COLUMN ref ADD CONSTRAINT NOT NULL but it doesn't work.

Does someone have the right solution ?

thanks for answer.

--

Mickaël JOUANNE
Webmaster / Developpeur / Support Technique


APR-Job &
www.jobscout24.fr - Meet your future
_____________________________________

HumanLine France SAS
32, rue Pierret
92200 Neuilly

tel: +33 1 42 44 40 73
fax: +33 1 49 26 09 76
ICQ: 42799256
m(dot)jouanne(at)humanline(dot)fr

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2000-11-08 16:47:13 Re: Probleme on ALTER
Previous Message Randy Jonasz 2000-11-08 16:35:02 SQL

Browse pgsql-novice by date

  From Date Subject
Next Message Stephan Szabo 2000-11-08 16:47:13 Re: Probleme on ALTER
Previous Message Chris Ryan 2000-11-07 18:30:04 Re: Security