About writting a query and SP which is better ?
Answers were Sorted based on User's Feedback
Answer / martin
sp is the better one...
Its compile and inside that we can write any number of
Query Statement , finally for the whole thing it will
create only one object as a reference .
But in Query Statement Each query be an Objects ...
Got it!!!!!
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / vickys & sugan
Stored Procedure is always super'b effective bcz it is pre-
compiled statements so it's great !!!!!!!!!!!!!!!!!
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / surendra
Stored procedures........
group of queries is nothing but sp..in sp we can use
functions etc
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amit patel
Stored procedures is better because it is fast in excution
and also it will save from sqlInjection
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anand
SP is better than the query bcoz SP is pre compiled unit so
it reduce burden on the server
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?
How use Xml data in ASP.net?
can u debug application programatically? if yes how?
You have two buttons in web form and i clicked on one of the button, so how do i find which button i've clicked on the form in my page load?
True or False: A Web service can only be written in .NET?
What is application and session in asp.net?
Can the validation be done in the server side? Or this can be done only in the Client side?
About Global .asax ?
What is the difference between adding reference in solution explorer and adding references by using ?
What is asp.net mvc5? : Asp.Net MVC
When is the ViewState available during the page processing cycle ?
What are the media types of http requests and response?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)