Like most things, SQL, it depends on which DBMS/DBD you are using. But update is definitely not the right command -- that's for updating values. In standard SQL the command to change the column structure of a table would be ALTER TABLE, but see the docs for your DBMS.