In a table only one column how to update rows
Answer Posted / rajesh venati
It is also work,
UPDATE TABLE_NAME SET COL_NAME=NEW_VALUE WHERE
COL_NAME=OLD_VALUE;
EX:-
SQL> SELECT * FROM RAJ;
EMPNO
----------
100
200
300
4
SQL> UPDATE RAJ SET EMPNO=400 WHERE EMPNO=4;
1 row updated.
SQL> SELECT * FROM RAJ;
EMPNO
----------
100
200
300
400
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
How is pl sql different from sql?
What is recursive stored procedure?
Is natural join same as inner join?
What are sql injection vulnerabilities?
What is the use of partition by in sql?
Why use triggers in sql?
What is compilation error in pl sql?
How do I find sql profiler?
What is update query?
How to pronounce postgresql?
What is compute?
How to read/write files from pl/sql?
What is sql profiling in oracle?
Is pl sql a scripting language?
what is the difference between a local and a global temporary table? : Sql dba