& lt%
set RS = server . createobject(“adodb,recordset“)
Sql=“按oid asc從對象順序中選擇*
康涅狄格州,1,1
rs.movelast
response . write RS(“oid“)
rs.close
設置rs =無
% & gt
或者
& lt%
set RS = server . createobject(“adodb,recordset“)
Sql=“按oid desc從對象順序中選擇*
康涅狄格州,1,1
response . write RS(“oid“)
rs.close
設置rs =無
% & gt