Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Unique key

$
0
0
Hi, this is my table structure:

Code:

mysql> desc one
    -> ;
+-------+---------+------+-----+---------+-------+
| Field | Type    | Null | Key | Default | Extra |
+-------+---------+------+-----+---------+-------+
| id    | int(11) | NO  | PRI | NULL    |      |
| empno | int(11) | NO  | UNI | NULL    |      |
+-------+---------+------+-----+---------+-------+
2 rows in set (0.00 sec)

I want to remove unique key from the above table which is in the column EMPNO.

How would i drop unique key from the table.

Viewing all articles
Browse latest Browse all 13329

Trending Articles