How do you change the column type and also set that column to not null together?
not null
I am trying:
ALTER TABLE mytable ALTER COLUMN col TYPE char
This should be correct:
ALTER TABLE mytable ALTER COLUMN col TYPE character varying(15), ALTER COLUMN col SET NOT NULL