Using “SELECT SCOPE_IDENTITY()” in ADODB Recordset

后端 未结 4 1960
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-20 19:42

Using a VBA script in Excel, I\'m trying to insert a new row into a table and then get back the identity value of that row. If I run:



        
4条回答
  •  旧巷少年郎
    2020-12-20 20:34

    See what happens when you remove the adOpenKeySet and adLockOptimistic values leave them at their defaults.

提交回复
热议问题