When we give SELECT * FROM EMP; How does oracle respond?

Answer Posted / wasim

User Level Process sends the query to Server level process
where in the query gets checked syntactically first. If the
syntax is correct then the query will get break down into
parts to evaluate what has to be done.

Oracle Engine then parses the query and understands that all
the rows from employee table has to be retrieved, before the
statement execution it will check whether the data is
available already in SGA. If its available then its will
send output to user, else it will execute the statement and
fetch the output from database and store it in database
buffers and then will pass on to user.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run a query in pl sql developer?

716


How do you optimize a stored procedure in sql?

673


Is sql harder than python?

814


What is hibernate and its relation to sql?

783


What are stored procedures in mysql?

757






What is dcl in sql?

688


What is data control language (dcl)?

784


what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?

2182


What is the most important ddl statements in sql are?

721


What is partition by in sql?

777


Why do we need sharding?

724


Why functions are used in sql?

699


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

839


explain the advantages and disadvantages of stored procedure? : Sql dba

706


How many sectors are in a partition?

741