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 are the 'mysql' command line options? : Sql dba
What does desc stand for?
How do you optimize a stored procedure in sql?
How many types of relationship are there?
What do you mean by rowid?
i have a table t1 a math 20 b phy 30 cchemisty 10 a math 40 b phy 23 c che 21 a math15 bphy 33 c che 56 write a quire to find out the max markr of each subject
using subquery how can i calculate working days in a month?
How does postgresql compare to oracle/db2/ms sql server/informix?
What is the criteria while applying index to any column on any table.
what is indexing, searching and user interface?
How to run sql functions in pl/sql?
write a pl/sql function if enter a value=0 then output value=1 and vise verse with out using if and case statements.
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)