dbTalk Databases Forums  

Appending ID's from two tables into one table/view

microsoft.public.sqlserver.mseq microsoft.public.sqlserver.mseq


Discuss Appending ID's from two tables into one table/view in the microsoft.public.sqlserver.mseq forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TLuebke
 
Posts: n/a

Default Appending ID's from two tables into one table/view - 05-12-2009 , 04:19 PM






Table A has unique student ID's (plus other info) and Table B has unique
Instructor ID's (plus other info) I need to combine the ID's from both tables
into a view or table that will contain a master list of all ID's

The end result is one column with ID's from both tables.

Reply With Quote
  #2  
Old   
TLuebke
 
Posts: n/a

Default RE: Appending ID's from two tables into one table/view - 05-12-2009 , 04:41 PM






I figure it out with a Union query into a view - thanks.

"TLuebke" wrote:

Quote:
Table A has unique student ID's (plus other info) and Table B has unique
Instructor ID's (plus other info) I need to combine the ID's from both tables
into a view or table that will contain a master list of all ID's

The end result is one column with ID's from both tables.

Reply With Quote
  #3  
Old   
Agile CRM
 
Posts: n/a

Default RE: Appending ID's from two tables into one table/view - 08-06-2009 , 12:34 PM



Thank you for adding the answer yourself - this helped me out.

"TLuebke" wrote:

Quote:
I figure it out with a Union query into a view - thanks.

"TLuebke" wrote:

Table A has unique student ID's (plus other info) and Table B has unique
Instructor ID's (plus other info) I need to combine the ID's from both tables
into a view or table that will contain a master list of all ID's

The end result is one column with ID's from both tables.

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.