IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Not random...
The function rand(ID) will always return the same value for any given value of ID since it's a seed value. For example, heres the first four keys - assuming you start from 1 and increment by 1:

ID RAND(ID)
1 0.71359199321292355
2 0.7136106261841817
3 0.71362925915543995
4 0.7136478921266981

Notice that the Gaussian based random function is magnitude sensitive. What the function I gave was attempting to do was use the wider swing in the less significant digits to provide a pseudo-type randomness (the 7th and 8th digits vary between 0 and 99). By adding in the millisecond clock to these two digits, you help make it a different value each sweep through. Not exactly a nice random function by mathematical standards, but perhaps random enuf.

New I would like to see one that is random
but I think it may involve some major programming to program a new random function.

I am free now, to choose my own destiny.
     SQL question - (Mike) - (8)
         Problem with the RAND() function... - (ChrisR) - (6)
             A couple of other solutions... - (ChrisR) - (5)
                 SQL Randomness - (orion) - (3)
                     Not random... - (ChrisR) - (1)
                         I would like to see one that is random - (orion)
                     Thanks -NT - (Mike)
                 Thanks -NT - (Mike)
         Two notes. - (static)

It looks like food.
44 ms