title: How to call sql function ABC defined in package DEF using TOAD ORACLE
body: <p>I have Oracle Package named DEF , with 1 function inside named ABC that accept 1 string argument.
  May I know how to call this function ABC directly in TOAD Editor?</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>CREATE OR REPLACE PACKAGE HPQ_IF.def AS
    FUNCTION def(p_sql IN VARCHAR2)
    RETURN VARCHAR2;
  END def;
  /
  
  
    FUNCTION abc(p_sql IN VARCHAR2)
    RETURN VARCHAR2
    IS
    j NUMBER;
  
    BEGIN
      dbms_output.put_line(p_sql);
      RETURN 'Done';
    END abc;
  </code></pre>
  
  <p>Last error (using first answer below):</p>
  
  <pre><code>[Error] Execution (6: 31): ORA-06550: line 6, column 31:
  PLS-00302: component 'abc' must be declared
  ORA-06550: line 6, column 3:
  PL/SQL: Statement ignored
  </code></pre>