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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the syntax for the update command?

Status
Not open for further replies.

rninja

Technical User
Apr 11, 2001
381
US
I am trying to update a field in a table with a new result. How Can I do this?

Thanks in advance! Rninja

smlogo.gif

 
UPDATE table1 SET location="Home" WHERE id="20"

update (tablename)
set variable=new_value
where index_num=index

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top