Results 1 to 3 of 3

Thread: Insert column into existing table

  1. #1
    Steu Mann Guest

    Insert column into existing table

    I am just learning SQL and am stumped. How do I add a new colum called PLANES to an existing table called TRAVEL? I tried this syntax with no success.... insert into TRAVEL values ('PLANES&#39 ......

    Thanks in advance for your help!

  2. #2
    Ray Miao Guest

    Insert column into existing table (reply)

    Use alter table statement. You use insert statement to insert data only into table.


    ------------
    Steu Mann at 3/10/00 9:40:01 AM

    I am just learning SQL and am stumped. How do I add a new colum called PLANES to an existing table called TRAVEL? I tried this syntax with no success.... insert into TRAVEL values ('PLANES&#39 ......

    Thanks in advance for your help!

  3. #3
    Craig Guest

    Insert column into existing table (reply)

    To add a column, use ALTER TABLE.

    What you are doing is trying to insert data into an existing table.


    ------------
    Steu Mann at 3/10/00 9:40:01 AM

    I am just learning SQL and am stumped. How do I add a new colum called PLANES to an existing table called TRAVEL? I tried this syntax with no success.... insert into TRAVEL values ('PLANES&#39 ......

    Thanks in advance for your help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •