title: ORA-20001: An error was encountered - -917 -ERROR- ORA-00917: missing comma
body: <p>Am getting error ORA-00917: missing comma while running below procedure having insert statement, Appreciate help.</p>
  
  <pre><code>DECLARE err VARCHAR2(10000);
  BEGIN
   Sample_Proc ('INSERT',60682,'Tab_AUDIT',' ','insert into Tab_1 (Audit_Sk,Process_Sk,Process_Name,Process_Type,Audit_Categ_Cd,Src_Query_Txt ,Dest_Query_Txt ,Alert_Log_Message,INSERT_DATE,UPDATE_DATE, SUCCESS_EMAIL_FLAG, SUCESS_MAIL_TXT,ERROR_MAIL_TXT,WARN_MAIL_TXT,AUDIT_TYPE) values (60682,100160306,''prcs_name'',''AUDIT'',''AGGREGATE COMPARE''
  ,''SELECT COUNT(1) FROM Tabb1 WHERE to_date(Create_Ts)= :b1 and etl_action_cd&lt;&gt;''D'';''
  ,''SELECT COUNT(1) FROM Tabb2 WHERE to_date(Create_Ts)= :b1 ;''
  ,''Comparison of data  - alert''
  , 27-MAY-15 02:12:09
  , 27-MAY-15 02:12:09
  ,''Y''
  ,''Validation ran successfully'' 
  ,''Validation  failed'' 
  ,''Validation  failed'' 
  ,''DND''))',' ',123,err);
  DBMS_OUTPUT.PUT_LINE(ERR);
  end;
  </code></pre>
  
  <p>Error report:</p>
  
  <blockquote>
    <p>ORA-20001: An error was encountered - -917 -ERROR- ORA-00917: missing comma</p>
  </blockquote>