Results 1 to 2 of 2

Thread: Append tables

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    London
    Posts
    99
    How do I append one table to another.

    I assume I'll have to use insert but I'm stuck from there.



    VB6 Enterprise sp5, SQL Server2000

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    Insert..Select

    Insert table1
    select * from table2

    will move the contents of table 2 into table1. The tables need to posses compatible data types and structures

Posting Permissions

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



Click Here to Expand Forum to Full Width