标签:
concat(‘a‘,‘b‘,‘c‘);//连接字符串
rand();//产生随机数
floor();//取整数
UPDATE user set reg_ip= concat(floor(RAND() * 250),‘.‘,floor(RAND() * 250),‘.‘,floor(RAND() * 250),‘.‘,floor(RAND() * 250)) where username=‘xxx‘
标签:
原文地址:http://www.cnblogs.com/bk7788/p/5585601.html