Sunday, July 22, 2012

MySQL随机生成ID

随机生成ID
update www_image set user_id=(select round(round(rand(),4)*30000));

No comments:

Post a Comment