cnblogs/dcrenl/SQL和access随机数.html
2024-09-24 12:43:01 +08:00

7 lines
194 B
HTML

<div>Access:</div>
<div>CLng(Rnd(种子数字)*1000000)</div>
<div>&nbsp;</div>
<div>SQL Server</div>
<div>ceiling(rand(abs(checksum(newid())))*1000000)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>