Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

MS SQL script question

$
0
0

I need to amend a table by adding data from column x to the data in column y and put a space and a hyphen between the values.

e.g.

column x row 1 = ubyd

column y row 1 = alph72

The result I need would be, in this case:

ubyd -alph72 in column x row 1 whilst column y row 1 remains unchanged

I have around 1000 rows that need to be amended.

How can I achieve this?



Viewing all articles
Browse latest Browse all 4871

Trending Articles



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