Bug #2361 ALTER TABLE ... DROP PRIMARY KEY drops a non-primary key
| Submitted: | 12 Jan 2004 12:22 | Modified: | 14 Jan 2004 4:05 |
|---|---|---|---|
| Reporter: | Peter Gulutzan | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.1.2 | OS: | Linux (SuSE 8.2) |
| Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
[12 Jan 2004 12:22]
Peter Gulutzan
[14 Jan 2004 4:05]
Ramil Kalimullin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
[19 May 2008 5:49]
vutukuri venkatesh
CREATE TABLE person (
id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
name CHAR(60) NOT NULL,
PRIMARY KEY (id)
);
from the above table is created using primary key for 'id' field , then i want drop primary key for the 'id' field in this table. can any 1 tell me how to drop a primary for this table...pls answer me with "syntax " & clear details
venkatesh.vutukuri
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
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.