Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

append

Status
Not open for further replies.

wdu94

Programmer
Aug 15, 2001
61
0
0
US
Hello,

I have 2 tables that have the same field name in these 2 table. I want to append the same field in one table.

Thanks for your help.
Jeannia

 
you can query the two tables seperately and then use a UNION command to merge the results

eg.

SELECT c1 FROM Table1
UNION
SELECT c1 FROM Table2

there are several options for the UNION command which can be found in the SQLServer Books Online
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top