Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
angelney14
Starting Member
1 Post |
Posted - 2007-07-25 : 02:25:02
|
Is it possible to insert multiple column from one table into onecolumn of another table? |
|
pbguy
Constraint Violating Yak Guru
319 Posts |
Posted - 2007-07-25 : 02:33:05
|
multiple columns into another one column...Explain with an example--------------------------------------------------S.Ahamed |
 |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-07-25 : 02:51:40
|
you want to concatenate the value of multiple column into one ?select col1 + col2 + col3from yourtable KH[spoiler]Time is always against us[/spoiler] |
 |
|
dinakar
Master Smack Fu Yak Hacker
2507 Posts |
Posted - 2007-07-25 : 11:14:37
|
quote: Originally posted by khtan you want to concatenate the value of multiple column into one ?select col1 + col2 + col3from yourtable KH[spoiler]Time is always against us[/spoiler]
And if you do something like that, make sure to check for NULLs on any of the columns because concatenation of anything with NULL will return NULL. Dinakar Nethi************************Life is short. Enjoy it.************************http://weblogs.sqlteam.com/dinakar/ |
 |
|
|
|
|