Results 1 to 2 of 2

Thread: insert into

  1. #1
    Join Date
    Dec 2007
    Posts
    7

    Unanswered: insert into

    INSERT INTO TABLE1
    SELECT C1, C2, C3 FROM TABLE2;

    will this(without the where clause) command copy all the rows of table2 with only c1, c2 and c3 columns in it?

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    that is correct
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

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