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

How to update the data of the table with the help of a single query.

$
0
0

Hello All,

I have table called User

userid gender
abc      M
uvw     F
xyz      M
mno     F
pqr      M

now with in one query i need to update "M" with "F" and vice versa.

How is that possible?? Please Help

Thanks in Advance


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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