mysql alter to table
Posted
by
user485783
on Stack Overflow
See other posts from Stack Overflow
or by user485783
Published on 2011-02-15T15:23:17Z
Indexed on
2011/02/15
15:25 UTC
Read the original article
Hit count: 392
Hi,
I drop the mysql alter code below to database via phpmyadmin one by one, it it work fine, is there anyone could help me how to drop it all together at once? or do you know the the samples of php code that may execute it? just let me know please. thanks in advace
ALTER TABLE
userADDtitlevarchar(16) COLLATE utf8_bin NOT NULL DEFAULT '' AFTERuser_idALTER TABLE
customerADDtitlevarchar(16) COLLATE utf8_bin NOT NULL DEFAULT '' AFTERcustomer_idALTER TABLEcustomerADDdate_birtdatedatetime NOT NULL DEFAULT '0000-00-00 00:00:00' AFTERlastnameALTER TABLEcustomerADDsecurity_questionvarchar(96) COLLATE utf8_bin NOT NULL DEFAULT '' AFTERfaxALTER TABLEcustomerADDsecurity_answervarchar(96) COLLATE utf8_bin NOT NULL DEFAULT '' AFTERfaxALTER TABLEcustomerADDpin_numbertext COLLATE utf8_bin AFTERpasswordALTER TABLEcustomerADDnotestext COLLATE utf8_bin AFTERbank_numberALTER TABLEcustomerADDlast_activedatetime NOT NULL DEFAULT '0000-00-00 00:00:00' AFTERdate_added
© Stack Overflow or respective owner