发布网友 发布时间:2022-04-21 23:44
共2个回答
热心网友 时间:2022-07-13 07:42
select count(*)+1 from [user] where [count]>(select [count] from [user] where username = 'abc')热心网友 时间:2022-07-13 07:42
移到abc所在的行,用rs.AbsolutePosition获取行号热心网友 时间:2022-07-13 07:42
rs.open "select count(*) from [user] where [count]>(select [count] from [user] where username like 'abc')"热心网友 时间:2022-07-13 07:42
select count(*)+1 from [user] where [count]>(select [count] from [user] where username = 'abc')热心网友 时间:2022-07-13 07:42
移到abc所在的行,用rs.AbsolutePosition获取行号热心网友 时间:2022-07-13 07:42
rs.open "select count(*) from [user] where [count]>(select [count] from [user] where username like 'abc')"热心网友 时间:2022-07-13 07:42
select count(*)+1 from [user] where [count]>(select [count] from [user] where username = 'abc')热心网友 时间:2022-07-13 07:42
移到abc所在的行,用rs.AbsolutePosition获取行号热心网友 时间:2022-07-13 07:43
rs.open "select count(*) from [user] where [count]>(select [count] from [user] where username like 'abc')"热心网友 时间:2023-06-26 21:29
如果是Sqlserver数据库,使用下面的SQL语句热心网友 时间:2023-06-26 21:29
SQL SERVER 可以使用 SELECT @@identity AS LastID ,不一定要用存储过程。