Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4107 Näkymät

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?


Avatar
Hylkää
Paras vastaus

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.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 25
7135
0
marrask. 21
2741
0
toukok. 18
2788
2
heinäk. 17
18026
0
toukok. 16
4717