sql 取最大加1

select @OPartItemID = 1 + max(OPartItemID) FROM PP_OperationPartDetail

posted @ 2012-05-11 10:31  dekevin  阅读(220)  评论(0)    收藏  举报