sql 取最大加1

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

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