How to update rows in table, suppose i have lacks of rows in
table how to update total table with update statement.
Can u please any one answer this question with update
statement.

Answers were Sorted based on User's Feedback



How to update rows in table, suppose i have lacks of rows in table how to update total table with ..

Answer / kt

If you go for a direct update statement, it will hang (as u
have indicated that ur table has lakhs of records).
So its better to analyze the table or go for dbms_stats.
After that fire ur update statement
update <table_name> set <column_name> = .......
where ...........

Is This Answer Correct ?    3 Yes 3 No

How to update rows in table, suppose i have lacks of rows in table how to update total table with ..

Answer / anil

write on anonyms block...
create one cursor and update the rows in a table with the
help of cursor...bcs ur table size is very large.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

State and explain the different types of data models?

0 Answers  


State the various uses of dbcc command?

0 Answers  


Design database draw er diagram for a certain scenario ?

0 Answers   Keane India Ltd, TATA,


What is a cursor variable?

0 Answers  


How do we represent comments in oracle?

0 Answers  






How to create a new oracle data file?

0 Answers  


Explain the use of file option in exp command.

0 Answers  


Can you tell me how to add new column in existing views?how?How is possible?

0 Answers   FIS,


I have one table :EID,Depid,ename,sal I want to have max(sal) in each department.

5 Answers   Microsoft, Oracle, TCS,


How do I start tns listener?

0 Answers  


How to define a sub function?

0 Answers  


How to divide query output into groups in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)