Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2004
    Posts
    11

    Unanswered: syntax enabling/disabling constraint

    does anybody know the sql syntax for enabling/disabling unique constraint on a given table?

    Thanks.

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    There's no syntax for that - you can only drop a unique constraint.
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Feb 2004
    Posts
    11
    how about DB2 iSeries/zSeries?

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    how about checking the manual?
    ---
    "It does not work" is not a valid problem statement.

  5. #5
    Join Date
    May 2009
    Posts
    508
    Provided Answers: 1
    Same thing in z/OS. You can create or drop but you can't just disable.

Posting Permissions

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