Re: Managing developers recommendations

  • From: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
  • To: <fred_fred_1@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 12 Oct 2005 22:45:52 +0200

Yes, try this one :O)

CREATE OR REPLACE TRIGGER block_toad_from_prod AFTER LOGON ON DATABASE DECLARE v_prog sys.v_$session.program%TYPE; BEGIN SELECT program INTO v_prog FROM sys.v_$session WHERE audsid = USERENV('SESSIONID') AND audsid != 0 -- Don't Check SYS Connections AND rownum = 1; -- Parallel processes will have the same AUDSID's IF UPPER(v_prog) LIKE '%TOAD%' OR UPPER(v_prog) LIKE '%T.O.A.D%' THEN RAISE_APPLICATION_ERROR(-20000, 'Toad users not allowed on PROD DB!'); END IF; END; /

Cheers, Dimitre Radoulov

----- Original Message ----- From: "Fred Smith" <fred_fred_1@xxxxxxxxxxx>
To: <oracle-l@xxxxxxxxxxxxx>
Sent: Wednesday, October 12, 2005 10:29 PM
Subject: Managing developers recommendations

Hi all,
My developers (who currently just use SQL Plus) now are wanting to use Quest TOAD. From what I've used it in the past, it is far too powerful for developers. (I don't trust my developers with creating tablespaces, etc.). Plus, I've found that TOAD is far too easy to delete objects, etc.
Any recommendations, etc would greatly be appreciated!
-Fred S.

Express yourself instantly with MSN Messenger! Download today - it's FREE!



Other related posts: