Update_(SQL) Update_(SQL)

Update (SQL) - Definition and Overview

Related Words: Date, Dateline, Modernize, Refurbish, Restore, Streamline

An UPDATE statement in SQL changes data in one or more records in a relational database management system.

UPDATE statement has the following form:

UPDATE table_name SET column_name = value [WHERE criteriavariable = value]

For the UPDATE to be successful, the user must have data manipulation privileges (UPDATE privilege) over the table or column, the updated value must not conflict with all the applicable constraints (such as primary keys, unique indexes , CHECK constraints, and NOT NULL constraints).

Examples

UPDATE T SET C1 = 1 WHERE C2 = 'a'

Example Usage of Update

jackskin2: Relevant Articles Update: January 1939: Barcelona Bombardment http://jackskin.net/2009/12/19/january-1939-barcelona-bombardment/
techglewindows7: Windows 7-Browsers - Mail Windows 7: Chrome Beta Update http://forum.techgle.com/showthread.php?t=642856
thundercats_toy: Torrington baseball team naming Update: The votes are in - Torrington Register Citizen: Torrington baseball team na... http://bit.ly/4PSndq
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.