Re: How to delete a table
You don't need to drop the whole table to rename one field within that table. (Though if the field is a primary or foreign key, you want to be cautious about renaming it.) For instance, this is the command myPHPAdmin generates when I rename a field:
ALTER TABLE `dog` CHANGE `dog_idd` `dog_id` BIGINT( 20 ) NOT NULL AUTO_INCREMENT ;
Note that it won't work unless you include the information about the datatype, whatever that information may be in your case.
Subject
Written By
Posted
February 27, 2005 08:29AM
February 28, 2005 12:24AM
Re: How to delete a table
February 28, 2005 11:52AM
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.