Identity column in SQL server database

Identity column in SQL server database

I inserted a new row in a table with Identity column, and saved it by calling update function. Then I immediatly tried to modify this record and update again. The powerbuilder always raises the error “Row changed between retrieve and update,” and identity column for that row will have NULL value.

Yes, when you perform the first insert you need to get the identity column value and reretrieve the data. The identity column value will be in the transaction SQLReturnData property. Use this value to reretrieve your datawindwo before updating it a second time.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular