删除掉的记录,为何没有办法看到其ID
代码如下:
sqlDelete = "Delete from Group_Address where Group_type = 0 and Admin_Sire = " & Session( "adminid ")
Response.Write sqlDelete
conn.execute(sqlDelete)
Group_id = conn.execute( "select @@identity ")(0)
Response.Write Group_id
可以看到第一条删除掉的记录,但没办法看到其@@identity值,为何?
------解决方案--------------------删除了怎么还能有呀