Don't work this statement:
IF NOT EXISTS (select TRUE from information_schema.constraint_column_usage =
where constraint_name=3D'projects_pkey')=20
THEN
ALTER TABLE projects ADD CONSTRAINT projects_pkey PRIMARY KEY(id)=3B
END IF=3B =20
__________________
Best regards=2C
Elyor.
=