SQL Server Update/Replace Command

I am a very new user to SQL Sever and I am trying to change all of the NULL fields in a table to a "_".  Can someone direct me how to accomplish this.  I even need the basics like "create a stored procedure..." or "add a user defined function.."  Besides creating tables and viewing tables I know very little about SQL.  Thanks.
toddpotterAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patrick MatthewsCommented:
Hi toddpotter,

This ought to do it:

UPDATE YourTable
SET YourColumn = '_'
WHERE YourColumn IS NULL

Regards,

Patrick
toddpotterAuthor Commented:
Do I do this through Enterprise Manager?
Patrick MatthewsCommented:
toddpotter,

Query Analyzer

Regards,

Patrick

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

ptjcbCommented:
toddpotter - you should avoid using Enterprise Manager to run queries. It is a good tool to manage databases, but it will sometimes fail to return results (time outs) or inconsistent results. To run queries, Query Analyzer is your friend. This link is a good example of the differences between the two tools.
ptjcbCommented:
Sorry - here is the link

http://www.aspfaq.com/show.asp?id=2455
Patrick MatthewsCommented:
toddpotter,

With no disrespect intended toward ptjcb, why didn't you select my answer?

Patrick
toddpotterAuthor Commented:
Honestly, I thought that I did but I selected ptjcb's reply by mistake.

toddpotter
Patrick MatthewsCommented:
Thank you, Nata.

Regards,

Patrick
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.