How to UPDATE all columns of a record without having to list every column

后端 未结 8 1883
情歌与酒
情歌与酒 2020-12-29 03:20

I\'m trying to figure out a way to update a record without having to list every column name that needs to be updated.

For instance, it would be nice if I could use so

8条回答
  •  不知归路
    2020-12-29 03:28

    you could do it by deleting the column in the table and adding the column back in and adding a default value of whatever you needed it to be. then saving this will require to rebuild the table

提交回复
热议问题