How can you gather statistics on a table?

Answer Posted / balu

exec dbms_stats.gather_table_stats('ownername','tablename')

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when we login sql editor using username and password then it says this error "could not resolve service name" then what can we do at client side.( here thing is tnsnames.ora file is ok till yesterday and worked well, but now it giving error.

1233


What is the default fill factor value? : sql server DBA

574


I got an error SQL1042C. An unexpected system error occurred. Explanation: A system error occurred. One possible reason for this error is that the database manager is not installed correctly or the environment is not set up correctly. On OS/2, while trying to start the database manager, a very common reason for this error is a corrupted NET.ACC file. The command cannot be processed. The tables and views would not be opened. What is the way to open the dataase? pls help me

3802


Does any body has ORACLE Certification Dumps or Materials on 9i DBA, 10G DBA, Internet Application Developer, OCP 8i to 10g DBA Upgrade, Oracle 11i if any body have it, please kindly drop an email to: taruni_2k8@yahoo.com

1724


what is logical system in sap basis

1135






Query processing is slow(eg select query)how will u solve that

6516


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

1965


What are the steps you will take to improve performance of a poor performing query?

2419


Why would you call update statistics? : sql server DBA

578


What types of replication are supported in sql server? : sql server DBA

599


Can you tell me about your experience with the administration of COTS system..? Also, how do you set up seed data..?

1743


what is the use of recording information about current session?

568


how do we explain a project in cognos in an interview? please help me. Also how do we perform testing in cognos after creating reports?

2971


How do you troubleshoot errors in a sql server agent job? : sql server DBA

565


What is dbcc? : sql server DBA

777