A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Combine tables



 
 
Thread Tools Display Modes
  #1  
Old August 17th, 2007, 02:10 PM posted to microsoft.public.access
Rose
external usenet poster
 
Posts: 262
Default Combine tables

I have two tables that are identical except they contain differant records.
What is the easiest way to combine them into one?
--
Rose
  #2  
Old August 17th, 2007, 02:20 PM posted to microsoft.public.access
scubadiver
external usenet poster
 
Posts: 1,673
Default Combine tables


use an append query but make sure you have a unique identifier for each row

--

The 11th day of every month:

http://truthaction.org/forum/index.php


"Rose" wrote:

I have two tables that are identical except they contain differant records.
What is the easiest way to combine them into one?
--
Rose

  #3  
Old August 17th, 2007, 02:22 PM posted to microsoft.public.access
Al Campagna
external usenet poster
 
Posts: 647
Default Combine tables

Rose,
Create an Append Query to add the records from one table into the other.
Make sure you backup both original tables before doing the Append.
--
hth
Al Campagna
Access MVP 2007
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love, and you'll never work a day in your life."

"Rose" wrote in message
news
I have two tables that are identical except they contain differant records.
What is the easiest way to combine them into one?
--
Rose



  #4  
Old August 17th, 2007, 03:14 PM posted to microsoft.public.access
Pieter Wijnen
external usenet poster
 
Posts: 1,354
Default Combine tables

To view all of them
SELECT * FROM TableA
UNION ALL
SELECT * FROM TableB

HTH

Pieter

"Rose" wrote in message
news
I have two tables that are identical except they contain differant records.
What is the easiest way to combine them into one?
--
Rose



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.