数据库或许自增长ID

select @@identity from LP_TeamLessonPlan

select SCOPE_IDENTITY() as id from LP_TeamLessonPlan

select max(id) from LP_TeamLessonPlan

SELECT IDENT_CURRENT('LP_TeamLessonPlan') AS ID

posted @ 2016-08-10 16:43  放任自己  阅读(244)  评论(0编辑  收藏  举报