源码文件 -补位法.sql --自已做标识列的例子,不自动重排编号,而是自动补号: --创建得到最大id的函数 create function f_getid() returns char(3) as begin declare @id int if not exi…