sql_alter("TABLE table ADD COLUMN column_name INT"); sql_alter("TABLE table ADD column_name INT"); // COLUMN is an optional keyword for this SQL command sql_alter("TABLE table CHANGE column_name column_name INT DEFAULT '0'"); sql_alter("TABLE table ADD INDEX column_name (column_name)"); sql_alter("TABLE table DROP INDEX column_name"); sql_alter("TABLE table DROP COLUMN column_name"); sql_alter("TABLE table DROP column_name"); // COLUMN is an optional keyword for this command sql_alter("TABLE spip_tradlang RENAME spip_tradlangs"); // You may pass several actions, but be careful about other DBMS ports: sql_alter("TABLE table DROP column_nameA, DROP column_nameB");