Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Location
    Barcelona
    Posts
    42

    Question Unanswered: Enable/Disable indexes/contraints

    To enable all triggers for a table:

    ALTER TABLE personas ENABLE ALL TRIGGERS;

    I would like to know the best way to enable/disable ALL indexes/constraints of an especfic table. I think there is not ALL INDEXES/ALL CONSTRAINTS clause...

  2. #2
    Join Date
    Jul 2003
    Posts
    2,296
    use dynamic sql to create the alter staments against the user_constraints
    table or something of the like.
    - The_Duck
    you can lead someone to something but they will never learn anything ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •