Thanks for your help. But what I mean is how to set multiple primary
keys when table creation, maybe I'm not describe very clearly last
time. The following is sample:
So what you want is the ability to set the *combination* of the fields
to be the primary key?
In this case the above code will not help you as there can be many
equal code1/code2 values, but their combinations should be unique.
This will always be the case if ID is included in the key as it is auto
incrementing.