A SELECT statement that uses a FOR UPDATE clause must conform to the following restrictions:
For information on how to declare an update cursor for a SELECT statement that does not include a FOR UPDATE clause, see Using the FOR UPDATE Option.
Use the FOR READ ONLY keywords to specify that the select cursor declared for the SELECT statement is a read-only cursor. A read-only cursor is a cursor that cannot modify data. This section provides the following information about the FOR READ ONLY clause: