RE: [PHP-WIN] [N-PHP-R] Help with MySQL

From: Date: Thu, 28 Feb 2002 19:35:01 +0000
Subject: RE: [PHP-WIN] [N-PHP-R] Help with MySQL
Groups: php.windows 
Request: Send a blank email to php-windows+get-12343@lists.php.net to get a copy of this message
Hi Nicole, You need to change the columns and alter the specifications (or at least that is how I do it) ALTER table table_name CHANGE column column_name create_definition SO it would look like this ALTER table balh chage column foo foo int(5)unsigned I hope that helps. -Flint -----Original Message----- From: Nicole Amashta [mailto:430ntr3k@bellsouth.net] Sent: Thursday, February 28, 2002 11:22 AM To: php-windows@lists.php.net Subject: [PHP-WIN] [N-PHP-R] Help with MySQL I know this is not MySQL, so that's why I put the [N-PHP-R] in the subject (means Non-PHP-Related) But, my problem is this. I have a table in MySQL. One of the fields (not the primary key), has a unique constraint on it. I need to remove this unique constraint, but I can't figure out how. I dn't see this in the MySQL docs. Does anyone know how to remove uniquness from a field? Thanks, -- Nicole Amashta Web Applications Developer www.aeontrek.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#12343) next »