1.Access
Access中自动增量字段用Counter实现,如:
Create Table log(
ID Counter PRIMARY KEY,
tname char(50),
tkeyvalue char(50));
2.MSSQL中用IDENTITY,如:
Create Table new_employees(
id_num int IDENTITY(1,1),
fname varchar(20),
minit char(1),
lname varchar(30)
);