Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    25

    Unanswered: how to copy records to a table

    i have a table with 15 fields (lname,fname,sex,...) now i created some other table with some fields in common with the first table and some other different fields i want to get the data from the first table for the common fields into second table using a query can some one tell me how to do it your help is appreciated.
    thanks

  2. #2
    Join Date
    Apr 2004
    Location
    metro Detroit
    Posts
    634
    Use an append query.

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    PHP Code:
      INSERT INTO yourNewTable
         SELECT yourOldTable
    .*
            
    FROM yourOldTable
    This will add all your records from yourOldTable INTO yourNewTable

Posting Permissions

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