Original post: http://anothermysqldba.blogspot.com/2014/06/mysql-random-integers.html
Esta não é uma característica nova, por qualquer meio, mas é uma
pergunta que eu tenho acontecer para ver aparecer de vez em
quando. Assim, um exemplo rápido é seguinte.
Para gerar um número aleatório dentro do MySQL você pode utilizar
o piso e as funções de Rand. Os MySQL documentos manuais
esta aqui: http://dev.mysql.com/doc/refman/5.5/en/mathematical-functions.html
# function_rand
" …
Community journal
Follow the feed
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Showing entries 1 to 1 of 1
« Previous |
Next »
Jun
16
2014