Advertisement
horozov86

Trigger UDX_PASSWORD_NULL_FIX

Mar 17th, 2025 (edited)
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.22 KB | None | 0 0
  1. CREATE OR REPLACE TRIGGER UDX_PASSWORD_NULL_FIX
  2. BEFORE UPDATE OF CFSTRING2 ON ABPGRPCUSTOMFIELDV
  3. FOR EACH ROW
  4. BEGIN
  5.  
  6.    IF :NEW.CFSTRING2 IS NULL THEN
  7.       :NEW.CFSTRING2 := DBMS_RANDOM.STRING('x', 8);
  8.    END IF;
  9. END;
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement