MySQL Forums
Forum List  »  InnoDB

Re: creating two fields that together are UNIQUE
Posted by: Heikki Tuuri
Date: April 26, 2005 07:37AM

Hi!

Yes, use

UNIQUE INDEX abc (col1, col2)

Best regards,

Heikki
Oracle Corp./Innobase Oy
InnoDB - transactions, row level locking, and foreign keys for MySQL

InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables
http://www.innodb.com/order.php

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: creating two fields that together are UNIQUE
8172
April 26, 2005 07:37AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.