Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Replacing occurance of characters with different columns

$
0
0

I am using SQL server 2012 . I have below resultset from the query . I want to replace first & with column2 and second & with column 3 . Both SSIS and Tsql work

column1                                                   column2                                      column3 

& created under the number &                    3456134                              49012345

Result I want is:

Column1                                                                                                          column2                column3

3456134 created under the number 49012345             3456134            49012345




Viewing all articles
Browse latest Browse all 24688


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>