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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-06-17 : 08:05:00
|
| Jim writes "I am trying to query several fields at one time in MS SQL. In access a created a a field in a query called keywords. That field consist of multiple fields. How do I do that in SQL. I can get it to display two (2) fields in one (1), but I need four (4) fields. Or is there an easier way?Thanks in advance." |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-06-17 : 08:08:04
|
| Is this?Select col1+' '+col2+' '+col3+' '+col4 from yourTableIf datatypes are different, you need to convert them to varcharMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|