title: Two Triggers saving into one trigger file
body: <p>Original triggers written in one sql file:</p>
  
  <pre><code>CREATE OR REPLACE TRIGGER "LOCATION_TRIGGER"
  BEFORE INSERT ON BBT_LOCATIONS
  FOR EACH ROW
  
  BEGIN
    IF :new.LOCATIONID &lt; 1000 
    THEN :new.LOCATIONID := :new.LOCATIONID;
    ELSE
    :new.LOCATIONID := LOCATIONID_SEQ.NEXTVAL;
    END IF;
  END LOCATION_TRIGGER;
  
  ---------------------------------------
  
  CREATE OR REPLACE TRIGGER "ROUTESTOP_TRIGGER"
  BEFORE INSERT ON BBT_ROUTESTOP
  FOR EACH ROW    
  
  DECLARE
    matches varchar2(4);
  
  BEGIN
    SELECT COUNT(*) INTO matches FROM BBT_LOCATIONS WHERE LOCATIONID = :new.STOP_REFERENCE;
    IF (match &lt;&gt; 1)
    THEN
     SELECT LOCATIONID into :new.STOP_REFERENCE
     FROM BBT_LOCATIONS
     WHERE NAME = :new.NAME;
    END IF;
  
  END ROUTESTOP_TRIGGER;
  </code></pre>
  
  <p>When this is ran all of the code for both triggers goes into the LOCATION_TRIGGER and all that goes into the ROUTESTOP_TRIGGER is </p>
  
  <pre><code>create or replace 
  </code></pre>
  
  <p>First time writing triggers. Feel like my syntax must be wrong but I cannot see it. Thanks in advance.</p>