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...


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 Driver Script any how related to AOM?

0 Answers   TCS,


What is the concept of inheritance in .net?

0 Answers  


Difference between value type & reference types ?

0 Answers  


Explain what is the difference between a class and an object, and how do these terms relate to each other?

0 Answers  


If we want to write a Windows service that cannot be paused, only started and stopped. How to accomplish that?

1 Answers  


How can I get at the win32 api from a .net program?

0 Answers  


What is the difference between a debug and release build?

0 Answers  


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

0 Answers  


Explain me what is the difference between a class and an object, and how do these terms relate to each other?

0 Answers  


How would ASP and ASP.NET apps run at the same time on the same server?

1 Answers  


How server form post-back works?

0 Answers  


What is a strong name in .net?

0 Answers  


Categories