I\'m interested in whether a select for update query will lock a non-existent row.
select for update
e.g.
Table FooBar with two columns, foo and bar, foo has a un
I wrote a detailed analysis of this thing on SQL Server: Developing Modifications that Survive Concurrency
Anyway, you need to use SERIALIZABLE isolation level, and you really need to stress test.