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.

 All Forums
 Development Tools
 Reporting Services Development
 CONCAT Command

Author  Topic 

sureshprpt
Starting Member

33 Posts

Posted - 2010-07-15 : 06:46:56
Hi ,
I want merge the six fields in a table into one field in sql queries .I use the CONCAT Command, but it was failed .Kindly guide to download the report.

Thanks & Regards
Suresh

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-07-15 : 07:05:19
It depends on the columns that you want to concatenate.
If a column isn't a character type then there is a need to convert.
If a column can have NULL values then there is a need to use ISNULL() or COALESCE().
So can you tell us a bit more?


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -