sqlserver 随机数

select floor(rand()*10) + 5 as rd
rand() 产生0~1之间的小数

0.0658651757311392
0.727451091436525
0.458829025671124
0.330964173829292
0.264734226044088

 

posted @ 2020-12-17 14:06  jiduoduo  阅读(816)  评论(0编辑  收藏  举报