1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

mysql数据库如何批量替换字段为随机整数?

Discussion in '后端开发' started by jw1b, Feb 2, 2008.

  1. jw1b

    jw1b New Member

    Joined:
    Feb 2, 2008
    Messages:
    1
    Likes Received:
    0
    表video的uid字段都是"3"我想把这个字段的数字替换为一组从12至20的随机整数,可以有重复,应该怎么写这个

    ps:在phpmyadmin里面运行!:)