| 发表于:2007-10-10 15:39:092楼 得分:20 |
比如插入20000-50000的值: create table test(username varchar(10),password int) insert test select 'asdfj',null insert test select 'asdfj',null insert test select 'asdfj',null insert test select 'asdfj',null insert test select 'asdfj',null insert test select 'asdfj',null insert test select 'asdfj',null insert test select 'asdfj',null insert test select 'asdfj',null insert test select 'asdfj',null update test set password=cast((50000-20000)*rand(checksum(newid())) as int)+20000 | | |
|