Google for a tuturial on SQL Server functions and read it.
You are responsible for your data and before you let any update statement loose on it, you should understand what you are doing.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP