Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to use concatenate values into the newly added column with semicolon separated ?

$
0
0

Hi All

Greetings

I have created a new column "EmployeeInfoDetail" in my existing tables. I need to Insert value in this new column based on different colums values from another table . i have total 4 columns & there value as below.

                 isCollegeHire  redyForShift    redyToRelocate  redyToAssignment  

                         Y                    N                          Y                         N

if the values on above column is Y then i need to enter the column names as value in new column.

For eg. Value in new columm will be isCollegeHire; redyToRelocate  

So how to achive this ? 


Viewing all articles
Browse latest Browse all 23857

Trending Articles