Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4026 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
6937
0
marrask. 21
2662
0
toukok. 18
2750
2
heinäk. 17
17905
0
toukok. 16
4644