Results 1 to 5 of 5

Thread: INSERT in 2 tables

  1. #1
    Join Date
    Jan 2004
    Location
    France
    Posts
    43

    INSERT in 2 tables

    is it possibles to insert in 2 tables ?

    thank you

  2. #2
    Join Date
    Jan 2003
    Location
    UK
    Posts
    55
    Use 2 Append queries

  3. #3
    Join Date
    Jan 2004
    Location
    France
    Posts
    43
    then it's impossible to do >>> insert into table1,table2 ......

    update is possible ....strange that it is not for insert

    thank you

  4. #4
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    How do you update two tables using one UPDATE statement?.

    You can join two or more tables in a UPDATE statment but SET statment can only contain columns from one table.

  5. #5
    Join Date
    Jan 2004
    Location
    France
    Posts
    43
    UPDATE Table1, Table2 SET Table1.Name = "Pierre", Table2.Age = 21
    WHERE (((Table1.Name)="Paul") AND ((Table2.Age)=20));

Posting Permissions

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