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

Find out the number of delimiters

$
0
0

Hi All,

 The field 'codes' is multi valued, according to how many values there are I need to replicate the tariff, 


Example if codes = "HFD|SW|HD"

Then:

tariffs= “15|15|15”

if = '' HGF|SW''

Then:

tariffs= “10|10”

Use 2014 SQL server version. 




Viewing all articles
Browse latest Browse all 24688

Trending Articles



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