vmware-archive / sre-test

Greenplum - Open Source SRE test project.
2 stars 0 forks source link

Example misplaced #155

Closed bala-cg closed 3 years ago

bala-cg commented 3 years ago

Page No : 969

Issue: Example misplaced.

Given: Add a not-null constraint to a column: To rename an existing constraint: ALTER TABLE distributors RENAME CONSTRAINT zipchk TO zip_check; ALTER TABLE distributors ALTER COLUMN street SET NOT NULL;

To Be: Add a not-null constraint to a column: ALTER TABLE distributors ALTER COLUMN street SET NOT NULL; To rename an existing constraint: ALTER TABLE distributors RENAME CONSTRAINT zipchk TO zip_check;

fifthposition commented 3 years ago

Docs story created.