Return a value from a insert statement

后端 未结 4 1493
你的背包
你的背包 2021-01-12 17:04

Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB. Is there a way to have an insert statement return a value? I have a sequence set up to

4条回答
  •  清酒与你
    2021-01-12 17:41

    If this value is the key the database creates, you've ran into a good example why you should use UUIDs as your table key, and generate them in code.

    This method will give you faster performance in your setup.

提交回复
热议问题