3.Alter Table "TEST" and Add Primary key Constraint to the table.
ALTER TABLE "TEST"
ADD CONSTRAINT "PK"
PRIMARY KEY ("COL1")
GO
ADS show that command is executed Successfully. ADS do not show any message or warnings. But when we check constraint node Primary Constraint is not added to the table.
NZSQL Prompt Behaviour:
Now go to nzsql prompt and Run above Alter Table query. The nzsql prompt will display the error message "Primary key constraint cannot be added, at least one of the fields is nullable".
This error message needs to come from the the netezza driver