Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Need to append text fields into one field
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

StephenD
Senior Member

Australia
1044 Posts

Posted - 07 February 2012 :  21:16:07  Show Profile  Send StephenD a Yahoo! Message  Reply with Quote
Looking for a way in SQL to merge the following row data into a new table if possible:

Source table:
ed_id (int 4) (primary key)
emp_id (int 4)
general_data (varchar 60)

Looks like:
ed_id emp_id general_data
100 1201 Commenced on 29/01/2011 and
101 1201 reports to John Smith in
102 1201 comms section
103 1202 New starter arriving on 1st
104 1202 June 2012

Target table to be:

emp_id
general_data

And look like:
emp_id general_data
1201 Commenced on 29/01/2011 and reports to John Smith in comms section
1202 New starter arriving on 1st June 2012

Can't seem to find a merge tool that will do it in one go.
Source table has 16K rows
Cheers!

  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07