what is the use of stored procedure which has only one
select statement over simple select statment query ? Why to
write a stored procedure then ?

Answer Posted / hardik

execution of the stored procedure is faster than simple sql
statement query.

for e.g.

select * from tablename is simple sql statement

create proc temp
as
begin

select * from tablename

end

above is sp of that statement.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the namespace available in .net?

583


What should you do to store an object in a viewstate?

555


How will you register com+ services?

1608


What is .net assembly?

577


How is a managed code executed?

701






What is a formatter in .net?

568


What is heap and what is stack?

569


How do I spawn a thread?

558


What is lazy initialization?

582


What is the difference between response.write & response.output.write?

585


Please explain is the jit an interpreter?

573


Explain what relationship is between a process, application domain, and application?

613


State the differences between the dispose() and finalize().

590


How com+ related to the dna architecture?

581


What is an exe and a dll?

589