Is it possible to access ORA_ROWSCN pseudo-column in the body of BEFORE triggers? I'm thinking about storing this value in the table itself to emulate SQLServer rowversion behaviour.
Tell me more
×
Database Administrators Stack Exchange is a question and answer site for
database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
|
It doesn't seem to be possible (even if Oracle itself populates the value before launching BEFORE UPDATE trigger) - referring to |
||||
|
|
ora_rowscn- why do you need to store it again in the table? – Jack Douglas♦ Dec 22 '11 at 20:47ora_rowscnin the table as a separate column (similar to how SQLServer'srowversionworks, so I don't need to change queries that use this feature while migrating from one RDMS to another). – a1ex07 Dec 22 '11 at 20:52rowdependenciesof course? – Jack Douglas♦ Dec 22 '11 at 21:34rowdependencies– a1ex07 Dec 22 '11 at 22:20