>>>>> "Darren" == Darren Sweeney <[EMAIL PROTECTED]> writes:

Darren> Hi
Darren> How do I ALTER a COLUMN on a table to make it a PRIMARY KEY if one is not
Darren> assigned already? or does this have to be done at table creation?

ALTER TABLE test ADD PRIMARY KEY (column list);

(Sorry, we have forgot to document this)

Regards,
Monty
-----------------------------------------------------------
Send a mail to [EMAIL PROTECTED] with
unsubscribe mysql [EMAIL PROTECTED]
in the body of the message to unsubscribe from this list.

Reply via email to