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

Update column based on a parsed value from another column

$
0
0
<p>i have table1 which has&nbsp;description, region and division columns.&nbsp;If the "description like '% (%.% or %.%'" I want to parse the first '%.%' which has the values for&nbsp;'region.division' and update the table1.region and table1.division columns. </p><p></p><p>FOR EXAMPLE</p><p>DESCRIPTION, REGION, DIVISION</p><p>Total Employes (SouthEast.Florida or 111.22),,</p><p>WANT IT AS</p><p>Total Employes (SouthEast.Florida or 111.22),SouthEast,Florida</p><p>thanks in advance.</p><p></p>

Viewing all articles
Browse latest Browse all 23857

Trending Articles



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