Results 1 to 1 of 1
  1. #1
    Join Date
    Nov 2003

    Unanswered: Naming Constraints

    Is there anyway to name Foreign Key constraints in MySQL 5.0a? Or for that matter MySQL 4.0? If it is possible I'm not sure if the syntax I'm using is right.

    I'm using:

    ALTER TABLE <table> ADD CONSTRAINT <ConstriantName>...


    Last edited by Animaul; 06-01-04 at 12:46.

Posting Permissions

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