We are loading the excel data to SQL Server.
One of the stopping issue is the following
Input
Practice Manager, E-mail and Direct line |
Donna West dmwest@mednet.ucla.edu 310.319.3844 |
Donna West dmwest@mednet.ucla.edu 310.319.3844 |
The Output format should be the following
Practice Manager | Direct Line | |
Donna West | dmwest@mednet.ucla.edu | 310.319.3844 |
Donna West | dmwest@mednet.ucla.edu | 310.319.3844 |
I am trying to use Derived Column initially with required expression using Replace function to add ',' to end of each line with in cell.
Then using Substring and charindex wanted to split the values based on ',' delimiter.
So my question is that what is the expression I should write to have COMMA to be added to end of each line.
Apart from my above way are there any other ways we can do to gets the required solution.
That would be a great relief from me if I get a solution..Thanks in advance ...:) :)