What is different between NO DATA FOUND and %NOTFOUND

Q

What is different between NO DATA FOUND and %NOTFOUND

✍: Guest

A

NO DATA FOUND is an exception which is raised when either an implicit query returns no data, or you attempt to reference a row in the PL/SQL table which is not yet defined. SQL%NOTFOUND, is a BOOLEAN attribute indicating whether the recent SQL statement does not match to any row.

2011-11-02, 3450👍, 0💬