1、随机数

SQL 脚本

update "CYBuildings2" set "imgIndex" = FLOOR(1 + (RANDOM()+9223372036854775808)/2.0/9223372036854775808 * 7);