hi,
use sql statement like "alter table tablename add column ..."
for details, have a look at:
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#ALTER_TABLE
hope this helps,
michael
Nuno Lopes wrote:
>
> Hi everybody,
>
> I have an answer. Can you answer it?? Thanks! Here is it: I have a db in
> mysql (off course!) with a lot of data. Can I add a new column (a new
> variable) to an existing table??? If yes, what's is the sql query?? Thanks!
>
> Thanking in Advance,
> Nuno Lopes
>
> P.S.: When you reply to the list, please reply to me to I get the answer
> a.s.a.p.
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php