Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4317 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
7624
0
marrask. 21
2893
0
toukok. 18
2921
2
heinäk. 17
18283
0
toukok. 16
4882