What's the purpose of Stored Procedure?

Answers were Sorted based on User's Feedback



What's the purpose of Stored Procedure?..

Answer / koti khammam

It will reduce the network traffic between client and
server so that the number of calls between client and
server are reduced.
It's an performance issue.

Is This Answer Correct ?    23 Yes 5 No

What's the purpose of Stored Procedure?..

Answer / dharmendra k. dixit

Stored Procedures has some advantages thats y we are using
SP..
some advantages are..
(1)Stored Proc is a Pre Compiled statement..so its reduces
Network Traffic.
(2). We can execute SP inside SP.
(3). Through it we can protect from SQL Injection.

Is This Answer Correct ?    17 Yes 3 No

What's the purpose of Stored Procedure?..

Answer / manisha

Stored procedured are precompiled and preoptimized sql stmts
so it takes less processing time,means executes much faster.
Can be shared between multiple user,so more reusable.
Much easier to manage it,since it resides in DB
more secure,flexible

Is This Answer Correct ?    16 Yes 3 No

What's the purpose of Stored Procedure?..

Answer / suresh

Stored Procedure Accept input Parameter,So a single stored
procedure can use Over the Network by several Clients by
Passing several Input values

Is This Answer Correct ?    10 Yes 3 No

What's the purpose of Stored Procedure?..

Answer / m.k.manikandan

There are several purposes of using stored procedures
instead of standard SQL. First, stored procedures allow a
lot more flexibility offering capabilities such as
conditional logic. Second, because stored procedures are
stored within the DBMS, bandwidth and execution time are
reduced. This is because a single stored procedure can
execute a complex set of SQL statements. Third, SQL Server
pre-compiles stored procedures such that they execute
optimally. Fourth, client developers are abstracted from
complex designs. They would simply need to know the stored
procedure's name and the type of data it returns.

Is This Answer Correct ?    7 Yes 1 No

What's the purpose of Stored Procedure?..

Answer / ashish

Sp is secure if we input data through query that time Haker
will hack this database easily
But in SP haker can not hack easily means DATA Manipulation
through SP is Secure the QUERY statement in any Language Coding

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More SQL Server Interview Questions

What is the difference between lock, block and deadlock? : sql server database administration

0 Answers  


Explain full-text indexing?

0 Answers  


Give me a SQL Query to find out the second largest company?

0 Answers   Ernst Young,


Are connections to sql server encrypted?

0 Answers  


Which one is faster delete/truncate? Why?

1 Answers   Infosys,






could you please reply for these question: 1.About Use Apply? 2.Avoid cursors - When we have a situation that we can not avoid the use of cursor than what is the alternate solution? is there anything we can use instead of cursor to perform the desired task? which optiomize the peroformance too. 3.What is computed columns? Thanks in advance. Regards, Rupesh

3 Answers  


List some major differences between triggers and stored procedures?

0 Answers  


What are the restrictions that views have to follow? : SQL Server Architecture

0 Answers  


What is catalog views?

0 Answers  


Define self join?

0 Answers  


Can you explain the disadvantages/limitation of the cursor?

0 Answers  


What is deadlock and how to avoid the deadlocks.

3 Answers   TCS, Wipro,


Categories