Write one update command to update seqno field of a table
on the basis of row number.

Answer Posted / priyanka

update table1 set seq_no =rownum where 1=1;

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are sql * plus commands?

545


Does a join table need a primary key?

539


Why we use triggers in mysql?

566


What is group function in sql?

547


What is the use of %rowtype?

541






What is the difference between a query and a report?

526


What is optimistic concurrency control? : Transact sql

555


what are the advantages of sql ? : Sql dba

554


What is not in sql?

508


1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins

1165


What are the types of functions in sql?

573


What is a natural join?

524


can a stored procedure call itself or recursive stored procedure? : Sql dba

587


What is scalar and vector?

542


how to run 'mysql' commands from a batch file? : Sql dba

614