Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3733 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
6134
0
marrask. 21
2427
0
toukok. 18
2472
2
heinäk. 17
17461
0
toukok. 16
4310