Difference between inline query and stored procedure?

Answer Posted / sharad prakash singhania

Procedure resides in the database in the executable format
whereas in case of inline query, SQL always take a step to
compile the query and then execute it. So In this respect
Procedure takes less time to execute whereas query take more
time to execute.

Is This Answer Correct ?    18 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I install microsoft sql?

710


Is sqlite good enough for production?

730


Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

1895


Define join and name different types of joins?

712


Explain clause in sql?

748






How do rank () and dense_rank () differ?

715


How to install oracle sql developer?

768


what is bcp? When is it used?

764


What is indexing in sql and its types?

732


What are all the common sql functions?

747


Can we use update in sql function?

769


what is the use of set statement in tsql? : Transact sql

735


What is pl sql in oracle?

779


What is a unique key?

773


What types of commands can be executed in sql*plus?

760