I am trying to change a column type:
This is the code I have made so far, but it doesn't work at all.
ALTER TABLE VILLE
ALTER COLUMN NVIL char(12); <-- Here I am trying to change from char(4) to char(12),
ALTER TABLE CLIENT I do this to add a foreign key to it
ADD FOREIGN KEY (LOCALITE)
REFERENCES VILLE
Can someone help me to modify my query?