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

Within SSMS calculated column changes format of name

$
0
0

I have a column "Name" which is the format John Doe .

How would I make my new computed column take this name and make it "Doe, John"?

I originally had it splitting the column into First and Last, then combining them. But there has to be a way to do it within one column instead of using 3. right?

Thanks,



Viewing all articles
Browse latest Browse all 23857

Trending Articles



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