alter table tablename add colname coltype default ;
等效拆分为
alter talbe tablename add colname coltype;
alter table tablename colname default;
速度快很多。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23413985/viewspace-731621/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/23413985/viewspace-731621/