Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > Oracle
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 28th, 2006, 12:37 AM
Registered User
 
Join Date: Mar 2005
Location: Chiplun, Maharashtra, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to smshinde
Default Trigger Enabled or Disabled?

How to determine whether a trigger is enabled or disabled using a Oracle command?

  #2 (permalink)  
Old January 16th, 2007, 12:17 PM
Authorized User
 
Join Date: Apr 2006
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Don't know it this helps but maybe using user_objects table

select * from USER_OBJECTS where object_type = 'TRIGGER'

this has some columns which may help

  #3 (permalink)  
Old March 1st, 2007, 06:02 AM
Authorized User
 
Join Date: Mar 2007
Location: New Delhi, Delhi, India.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

There is an specific system table for triggers in Oracle that's USER_TRIGGERS.

U can query...
SELECT * FROM USER_TRIGGERS

to get all the information about all the triggers owned by the current user. if you know the trigger name then u can be more specific as.....
SELECT * FROM USER_TRIGGERS WHERE TRIGGER_NAME = 'YourTriggerName'

This query will return the status of ur trigger also.

Akhil
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication is not enabled ayyub123 ASP.NET 2.0 Basics 0 May 29th, 2007 01:49 AM
Validate only if enabled bleutiger Other Programming Languages 0 April 25th, 2006 07:15 PM
check if element is disabled or enabled crmpicco Javascript How-To 1 November 10th, 2005 07:21 PM
How to detect whether cookie is enabled or not. lily611 Javascript 2 July 26th, 2005 03:53 AM



All times are GMT -4. The time now is 01:52 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.