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 ?

Answers were Sorted based on User's Feedback



what is the use of stored procedure which has only one select statement over simple select statmen..

Answer / ravinder kumar

Because stored procedure are pre compiled and need not to
compile again .it is faster than simple query.

Is This Answer Correct ?    5 Yes 0 No

what is the use of stored procedure which has only one select statement over simple select statmen..

Answer / rkasha

SP are better than SQL Query, but UDF (User Defined
Function) are even beter. Since it can be called in any
query and will return multiple records

Is This Answer Correct ?    0 Yes 0 No

what is the use of stored procedure which has only one select statement over simple select statmen..

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

More Dot Net General Interview Questions

What are .net applications?

0 Answers  


Is string a value type or a reference type?

4 Answers  


What is the use of edititem template ingridview?

1 Answers   C Squared Systems, Microsoft,


Please explain what are an inheritance, polymorphism, and encapsulation?

0 Answers  


What is a delegate in .NET?

1 Answers  






What are the different types of Classes in .NET?

0 Answers   PUCIT,


What is func in .net 3.5?

0 Answers  


Which Namespace is used to to achieve MultiThreading in .NET?

0 Answers  


What is Assembly manifest? what all details the assembly manifest will contain.

1 Answers  


What is the difference between boxing and unboxing?

0 Answers  


What is the best way to crack the certification?

0 Answers  


What is dot net architecture?

0 Answers  


Categories