数据库通用自增长列
时间:2014-03-05 13:30:44
收藏:0
阅读:567
select case a when 0 then 1 else (select max(uuid) from t_user)+1 end as b from (select count(uuid) as a from t_user)
原文:http://www.cnblogs.com/BrightMoon/p/3581010.html
评论(0)