When user compiles a code, Toad throws the following error.
PLS-00103: Encountered the symbol end-of-file when expecting one of the following:
begin function package program procedure subtype type use an identifiera double-quoted delimited-identifierform current cursor external language
User is using SHIFT-F9<shift></shift><f9></f9>to compile a code but the cursor is placeon a blank line.
Pressing SHIFT-F9<shift></shift><f9></f9><shift></shift><f9></f9>runs only the snippet at the cursor. This does not run or compile entire procedures, functions, or triggers. When you press SHIFT-F9<shift></shift><f9></f9><shift></shift><f9></f9>Toad runs everything between two of the following:
1. ; (a semi-colon)
2. a blank line
3. / (a forward slash)
4. End and beginning of file indicators
To run the entire code using SHIFT-F9<shift></shift><f9></f9><shift></shift><f9></f9>, please highlight the entire code.