开发者

Update sqlite column type

开发者 https://www.devze.com 2023-02-28 14:13 出处:网络
The co开发者_StackOverflow社区lumns in my table are currently \"text\", I need to change them to \"text collate nocase\". How would I go about doing this without losing data?Just run an ALTER TABLE co

The co开发者_StackOverflow社区lumns in my table are currently "text", I need to change them to "text collate nocase". How would I go about doing this without losing data?


Just run an ALTER TABLE command on the column. You should not lose data, but test first.

Check out the docs for the exact syntax;


I recently had to do something similar. I used RazorSQL.

RazorSQL

0

精彩评论

暂无评论...
验证码 换一张
取 消