Php developers,Php Tutorials ,Web development, Web Developers, Php hosting, open-source,community
 
Serving the LAMP developers all over the word
LampDevelopers is a pure LAMP Developers community
Php developers,Php Tutorials ,Web development, Web Developers, Php hosting, open-source,community
LAMP Developers
   
   
   
   
   
   
Web Development
   
Developer / Programmer
   
Related Links
   
Member
   
Enter Keyword
Adding Fields

...one field at a time

mysql 4.1.16-nt-max> alter

table table01 add column field03 char(20);

Query OK, 1 row affected (0.04 sec) Records: 1 Duplicates: 0 Warnings: 0

...more than one at a time

mysql 4.1.16-nt-max> alter table table01 add column field04 date,

add column field05 time;

Query OK, 1 row affected (0.04 sec)

Records: 1 Duplicates: 0 Warnings: 0

The "add column" must be restated for each column.
Commas are used between each add column statement.
A space may be used after these commas.

The MySQL Manual fully explains each possible column data type .

Did it work?

mysql 4.1.16-nt-max> select * from

table01;

field01 field01 field01 field01 field01
1 first null null null

Now we're getting somewhere!

News
this is the news
this is the news this is the news this is the news....
openWYSIWYG 1.01 bet....
small description
Links