GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Oracle  >  SQL

 Print  |  
Question:  Difference between NO DATA FOUND and %NOTFOUND


Answer:
NO DATA FOUND is an exception raised only for the SELECT....INTO statements when the where clause of the querydoes not match any rows. When the where clause of the explicit cursor does not match any rows the %NOTFOUND attribute is set to TRUE instead.


July 07, 2006 00:03:22 #1
 Ayan Mahalanabish   Member Since: Visitor    Total Comments: N/A 

RE: Difference between NO DATA FOUND and %NOTFOUND
 
NO DATA FOUND is an Exception whereas %NOTFOUND is a cursor attribute
     

 

Back To Question