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
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
转载于:https://www.cnblogs.com/cjgu/p/5757369.html