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

    Unanswered: Unique Key Definition

    Hi,

    I am trying to get a key of a document_name and a docnumber which is auto_increment.

    MySQL won't work

    "1,name1"
    "2,name1"
    "3,name1"
    ...

    How do I get a key that will create a unique document_name with a newly incremented docnumber ???

    Tanks

  2. #2
    Join Date
    Jan 2003
    Location
    Paris, France
    Posts
    320
    Do you need to create a key (an index) or do you want to create a field ?
    Olivier Miossec
    --
    http://www.lasso-developpeur.net/
    --

Posting Permissions

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