Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating a SQL table

Status
Not open for further replies.

janderson616

Programmer
Dec 16, 2004
1
US
Hi all,

I am very new to SQL, I know how to query a database for information but what I do not know how to do is change the information in that database from directly in SQL. I have a column that has a "n" in it and I need to go in and change that to a "y". How do I do that?
 
Code:
UPDATE tbl SET fld = 'y' WHERE fld = 'n'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top