| | |
How to merge two columns ?
Please support our MS SQL advertiser: Intel Parallel Studio Home
![]() |
Hi , I have 2 columns named
1. Tel_H
2. Tel_H_Code
How can i merge these two columns to make them one ??
I am clueless here...The best i can do is to view them as one
1. Tel_H
2. Tel_H_Code
How can i merge these two columns to make them one ??
I am clueless here...The best i can do is to view them as one
MS SQL Syntax (Toggle Plain Text)
SELECT Tel_H_Code + Tel_H AS 'Tel_H' FROM Detailed_List
Delphi & C# programmer deluxe...
•
•
Join Date: Apr 2008
Posts: 1
Reputation:
Solved Threads: 0
maybe you can use select into statement, with it you merge two colums and take it another table like that
so you can use it
select Tel_H from Table1
sql Syntax (Toggle Plain Text)
SELECT Tel_H_Code + Tel_H AS 'Tel_H' INTO Table1 FROM Detailed_List
select Tel_H from Table1
Last edited by peter_budo; Dec 12th, 2008 at 7:04 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
•
•
Join Date: May 2008
Posts: 144
Reputation:
Solved Threads: 9
Last edited by peter_budo; Dec 12th, 2008 at 7:05 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Similar Threads
- A DataSet merge question... (ASP.NET)
- Merge Sort (C++)
- Word 2003 Tables Distribute Some of the Columns Evenly (Windows Software)
- Layers go walkabout (IT Professionals' Lounge)
- help with tables, please help? (Site Layout and Usability)
- vBulletin mod_rewrite (PHP)
- Merging And Splitting (Java)
Other Threads in the MS SQL Forum
- Previous Thread: Insert Fails when trying to store huge amount of data
- Next Thread: Urgent help
| Thread Tools | Search this Thread |





