Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3875 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
6408
0
marrask. 21
2516
0
toukok. 18
2571
2
heinäk. 17
17661
0
toukok. 16
4446