title: PL/SQL Function Error - PLS-00103: Encountered the symbol "IS"
body: <p>I am trying to create a simple PL/SQL function but its returning error -> PLS-00103: Encountered the symbol "IS". I am not sure whats wrong here, so could anybody out there please help. I followed the following steps -</p>
  
  <p><code>Step1</code> - Logged in as sysdba using - <code>sqlplus / as sysdba</code></p>
  
  <p><code>Step2</code> - Created a file name <code>test.sql</code> with following code under <code>C:\</code> -</p>
  
  <pre><code>CREATE OR REPLACE FUNCTION employer_details_func
  RETURN VARCHAR(20);
  IS 
    emp_name VARCHAR(20); 
  BEGIN 
  SELECT first_name INTO emp_name
  FROM emp_tbl WHERE empID = '100';
  RETURN emp_name;
  END;
  / 
  </code></pre>
  
  <p><code>Step3</code> - Ran the following commands -</p>
  
  <pre><code>SQL&gt;@C:\test.sql
  Warning: Function created with compilation errors.
  SQL&gt; show error function Func;
  Errors for FUNCTION FUNC:
  LINE/COL ERROR
  5/1      PLS-00103: Encountered the symbol "IS"
  SQL&gt;
  </code></pre>
  
  <p>Don't know why am I getting this weird error. Any help is highly appreciated.</p>