remove first character from mysql field

后端 未结 3 1837
迷失自我
迷失自我 2021-01-12 12:39

I need advices in order to make a process on my list of values. I have a table llx_societe and some fields where one of them is code_client. This f

3条回答
  •  生来不讨喜
    2021-01-12 13:31

    You can use the following SQL: UPDATE TABLENAME SET data = SUBSTR(FIELD, 2);
    for example if there is table(userinfo) and field is username

    UPDATE users SET username = SUBSTR(username, 2);

提交回复
热议问题