Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想更改表的架构,以便将一个整数字段更改为 Varchar 字段,但保留数据(以前的数字现在将是字符串)。
试试这个来改变架构:
alter table table_name change col_name col_name varchar(10)