我试图将列Customer_email更改为customerEmail,但这会导致错误。
给出错误的代码是
alter table getCustomer
change Customer_email customerEmail varchar;代码可以很好地处理"int“类型列。

发布于 2017-11-13 15:50:41
对于VARCHAR类型,您必须给出字符串的最大长度,例如VARCHAR(50)。
https://stackoverflow.com/questions/47268280
复制相似问题