home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle.server      Oracle Sysadmins question their careers      44,300 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 42,992 of 44,300   
   Kay Kanekowski to All   
   Re: ORA-00900: invalid SQL statement on    
   26 Apr 17 01:31:20   
   
   From: kay.kanekowski@web.de   
      
   Hi Joe,   
   is this only a typo here "SCHEMA".TRIGGER_NAME" - there is missing " before   
   TRIGGER_NAME.   
      
   i do this and it works:   
      
   create table kk1 ( wert number, LASTMODIFIED date, lastuser varchar2(100));   
      
   CREATE OR REPLACE TRIGGER scott.T1   
   BEFORE INSERT OR UPDATE ON scott.kk1   
   FOR EACH ROW   
   BEGIN   
      :new.LASTMODIFIED := sysdate;   
      :new.LASTUSER     := user;   
   END;   
   /   
      
   regards   
   Kay   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca