Re: Append Query SQL
From: Eric G (EricG_at_ether.net)
Date: 04/30/04
- Next message: Duane Hookom: "Re: Appending crosstab query having dynamic variables"
- Previous message: tina: "Re: I'm struggling with my limited knowledge of code"
- In reply to: Michel Walsh: "Re: Append Query SQL"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Apr 2004 05:04:06 GMT
Hi Michel,
Thanks very much! That was a perfect solution.
Eric
> Make a backup. Try:
>
> INSERT INTO tableb(f1, f2, f3, f4, f5)
> SELECT tablea.f1, tablea.f2, tablea.f3, tablea.f4, tablea.f5
> FROM tablea LEFT JOIN tableb
> ON tablea.f1 = tableb.f1 AND tablea.f2=tableb.f2
> WHERE tableb.f1 IS NULL
>
>
>
>In fact, the SELECT portion (the query, without the first line) should
>return the records in tablea not in tableb, accordingly to your criteria.
>
>
>
>
>Hoping it may help,
>Vanderghast, Access MVP
- Next message: Duane Hookom: "Re: Appending crosstab query having dynamic variables"
- Previous message: tina: "Re: I'm struggling with my limited knowledge of code"
- In reply to: Michel Walsh: "Re: Append Query SQL"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|