Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / geetha priya

It will retrieve all the columns of emp table. There is no
need to check for conditions as there are no conditions
specified in the given command.

Is This Answer Correct ?    7 Yes 4 No

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

Answer / babapps

hi

we enter this query then oracle engine takes this query and
to search particular given table in database table then
select command act as a cursor to retrieve the data or to
fetched the
data from database table then to print the data on sql prompt

Is This Answer Correct ?    4 Yes 2 No

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

Answer / suresh

it will check for emp table(available or not).
1.if emp table available then it will retreive all the
colums from emp table..
2.if it is not available then it will give error..

Is This Answer Correct ?    2 Yes 0 No

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

Answer / anand123

hI

I ama supporting Vaibhavi_dixit Answer.


Regards
Anand

Is This Answer Correct ?    3 Yes 2 No

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

Answer / anupam a

Vaibhavi_dixit is close to correct

Is This Answer Correct ?    2 Yes 2 No

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

Answer / umashankar

1.The PARSER scans/reads the SELECT statement and splits it
into some logical units such.
i.e: keywords/reserved word, operators, expressions and
identifiers.

2. SEQUENCE TREE or QUERY TREE is built the logical steps
needed to transform the source data into the format as
needed by the end result.

3. The QUERY OPRIMIZER analyzes the query in various ways
and selects the series of steps that returns the end
results fastest way. The query tree is updated to record
this exact series of steps. The final, optimized version of
the query tree is called the execution plan.

4. The RELATIONAL ENGINE starts executing the execution
plan which was prepared by the Query Optimizer.

5.The RELATIONAL ENGINE requests the STORAGE ENGINE pass up
data from the rowsets requested.

6. The RELATIONAL ENGINE processes the data (returns all
column values from EMP table) returned from the storage
engine to the client.

Is This Answer Correct ?    2 Yes 2 No

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

Answer / venky

when we fire this query on

first it will send to sql buffer
then sql buffer send to SGA

sGA send to sql*plus layer

this layer interact with the database server if the table
is exist in the database server , it will dispatch the all
rows to sql*plus layer
from this layer to SGA-----> output buffer
..
finally it wii display on the location of interface(screen)

Is This Answer Correct ?    0 Yes 0 No

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

Answer / d.elumalai

IF WE GIVE SELECT * FROM EMPLOYEES MEANS
THE ORACLE WILL DO THE FOLLOWING.

1.SYNTACTIC CHECK
2.SEMANTIC CHECK
3.HARD PARSING
4.SOFT PARSING

Is This Answer Correct ?    0 Yes 0 No

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

Answer / 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

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

Answer / ritesh goyal

When query is fired, Oracle will validate the syntax and semantics of the statement then creates a dynamic plan to execute it. retrieves the data from various datafiles and put it in an implicit cursor which is private SQL area for this query.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is different between union and minus?

7 Answers   Accenture, TCS,


what is the stuff function and how does it differ from the replace function? : Sql dba

0 Answers  


Can we use SQL%ISOPEN in implicit cursors? Does this attribute works properly in Implicit Curosors?

3 Answers  


How to sort the rows in sql.

0 Answers  


i have a customer table. trans_id trans_date trans_amt debit_credit_indicator 001 01-JAN-13 1099 cr 001 12-JAN-13 500 db 002 24-FEB-13 400 db 002 23-MAR-13 345 cr 001 18-APR-13 800 cr 002 15-MAR-13 600 db 001 12-FEB-13 200 cr i want like this output. trans_id trans_amt debit_credit_indicator i want get highest credit amount and lowest credit amount and highest debit amount and lowest debit amount for each trans_id. pls give me answer. i want urgent

3 Answers  


Differentiate between pl/sql and sql?

0 Answers  


Explain the difference between drop and truncate commands in sql?

0 Answers  


What is trigger in sql and its types?

0 Answers  


How to avoid duplicate records in a query?

0 Answers  


What is the usage of the distinct keyword?

0 Answers  


how to create user in sql and how to set password for that?

3 Answers  


what are %TYPE and %ROWTYPE? what is the difference?

7 Answers   ICICI, Saama Tech, Sail,


Categories