Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4238 มุมมอง

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?


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 25
7478
0
พ.ย. 21
2850
0
พ.ค. 18
2886
How to: Customize field validation แก้ไขแล้ว
2
ก.ค. 17
18212
0
พ.ค. 16
4802