MySQL Forums
Forum List  »  Newbie

Re: altering table
Posted by: Ramalingam Chelliah
Date: August 16, 2004 04:31AM

Hi,
Previous records will have null values in the newly added column...
provided that you don't specify the new column to be a non -null field...

Otherwise they will have 0 ( or default value that you specify for Integer field ) or
empty string( or default value ) for varchar field

Hope this helps ...

Regards,
Ram.

Options: ReplyQuote


Subject
Written By
Posted
August 16, 2004 02:27AM
Re: altering table
August 16, 2004 04:31AM
August 16, 2004 05:19AM
August 16, 2004 05:42AM


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.