Skip to Content
Menu
This question has been flagged
1 Atsakyti
3203 Rodiniai

From the production DB I need to change a field from int to char.

When I tried in local I lost all the data which is stored in the field.

What is the solution?


Portretas
Atmesti
Best Answer

Better you create a new char field and copy the value of int field to new char field. You can use update query as well.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 25
4443
0
lapkr. 21
1990
0
geg. 18
2176
2
liep. 17
16760
0
geg. 16
3776