To add columns to an existing table using the command line, enter:<br/>
ALTER TABLE table_name ADD column_name data_type null_attribute<br/>
<br/>
EX:<br/>
ALTER TABLE MyTable<br/>
ADD COLUMN1 VARCHAR(5) NOT NULL WITH DEFAULT<br/>
ADD COLUMN2 CHAR(3)

arrow
arrow
    全站熱搜

    mark528 發表在 痞客邦 留言(0) 人氣()