Select unlocked rows oracle
问题 I have an application in C# that uses an Oracle database. I need a query to fetch the unlocked row from a table in oracle database. How can I select all unlocked rows? Is there any 'translator' out there that can translate this T-SQL (MS SQL Server) query to Oracle dialect? SELECT TOP 1 * FROM TableXY WITH(UPDLOCK, READPAST); I'm a little bit disappointed with Oracle lacking such a feature. They want to make me use AQ or what? 回答1: Oracle does have this feature, specifically the SKIP LOCKED