UPDATE STATEMENT

ü  UPDATE statement is used to change the existing data.
ü  It is used to update the row(s) in the table of existing database.
ü  It is used to update the row(s) in the table based on where clause.

Syntax:

UPDATE Table1
SET Col1 = Val1, Col2 = Val2
WHERE Col3 =Val3

Example:

Note:
·         It can be used with ‘AND’ or ‘OR’ clause.
UPDATE STATEMENT UPDATE STATEMENT Reviewed by kamal kumar das on January 20, 2012 Rating: 5

No comments:

ads 728x90 B
Powered by Blogger.