In a table only one column how to update rows
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / geetha
create a table with one column
select sno,rowid from test_table;
then use the rowid to update the col..
update test_table set sno = value where rowid =' '
Is This Answer Correct ? | 10 Yes | 7 No |
Answer / manjuanth
Answer - point 1, 2, 3, and 4 All are correct.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / geetha
create a table with one column
select sno,rowid from test_table;
then use the rowid to update the col..
update test_table set sno = value where rowid =' '
Is This Answer Correct ? | 1 Yes | 4 No |
What is the use of cursor ? how cursor allocate context area for executing the sql statement?
How exception handling is done in advance pl/sql?
What is Materialized View? In What Scenario we Use Materialized View?
How to remove duplicate rows from a table?.
What are the packages in pl sql?
What is the use of sqlerrd 3?
I have a small PL/SQL Block assume in this way begin select * from emp where empno=100; exception when others then <Some Messages> when no_data_found then <Some Messages> when too_many_rows then <Some Messages> end; The question which he asked was whether this block will get executed normally or it will throw error ? If errored out then what is the reason for the error ? Could anybody please help me ? Regards Nakul Venkataraman
Begin For j in 4403201000 .. 4403202000 Loop If mod (j, 100) = 0 then Dbms_output.put_line (j); End if; End loop; End; what will be the output of this question
What is trigger types of trigger?
What are sql data types?
What is relationship? How many types of relationship are there?
Is and as keyword in pl sql?