用checksum(newid())来生成rand的seed UPDATE Books SET CTR = CEILING(rand(checksum(newid()))*100)
SQL2005如何给表中每行都附一个随机数
最新推荐文章于 2019-02-01 09:43:00 发布
用checksum(newid())来生成rand的seed UPDATE Books SET CTR = CEILING(rand(checksum(newid()))*100)