- 论坛徽章:
- 0
|
select CONCAT('123456',
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end,
case round((rand())*2) when 0 then round((rand())*9) when 1 then char(round((rand())*25)+97) else char(round((rand())*25)+65) end
)
-----------
自己改成insert 就可以了:wink: |
|