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

Is there built-in support for logging?

0 Answers  


How does u handle this COM components developed in other programming languages in .NET?

0 Answers  


What is Nothing permission set in .Net

1 Answers  


How do you create threading in.net?

0 Answers  


1.What is the major advantage of polymorphism? Please don't simply say binding. Specify any other reason.

2 Answers   247Customer,






How to produce an assembly?

0 Answers  


What is meant by localization?

0 Answers  


Explain what is a delegate?

0 Answers  


how can i create a table from front end to back end in wabe page?

0 Answers  


What is the difference between a namespace and assembly name in .net?

0 Answers  


What are the features of dot net?

0 Answers  


What is the use com component in .net?

0 Answers  


Categories