How to change column datatype in SQL database without losing data

前端 未结 11 2527
迷失自我
迷失自我 2020-12-02 06:55

I have SQL Server database and I just realized that I can change the type of one of the columns from int to bool.

How can I do that withou

11条回答
  •  遥遥无期
    2020-12-02 07:01

    In compact edition will take size automatically for datetime data type i.e. (8) so no need to set size of field and generate error for this operation...

提交回复
热议问题