[ad_1]
Try: UPDATE Table SET fieldName = ((rand() * 1000) % 40) + 10;
Because when you preset it in a variable, it’ll be the same for all…
6
[ad_2]
solved Random Number in MySQL column [closed]
[ad_1]
Try: UPDATE Table SET fieldName = ((rand() * 1000) % 40) + 10;
Because when you preset it in a variable, it’ll be the same for all…
6
[ad_2]
solved Random Number in MySQL column [closed]