adspace


What are the advantages of using a stored procedure?

Answer Posted / Aarti Martolia

"Stored procedures offer several benefits, including improved application performance due to reduced network traffic and faster execution time, increased security as they can be secured at the server level, easier code maintenance by encapsulating complex logic, improved error handling with customized error messages, and reusability of SQL code across multiple applications."n

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How efficient you are in oracle and SQL server?

1262


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1025


What is clustered index

1090


What are the kinds of subquery?

1113


Can one drop a column from a table?

1093


How can you append an identity column to a temporary table?

1072


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1218


Can sql servers link to other servers like oracle?

925


Can you index views?

956


Disadvantages of the indexes?

1228


What is a view in sql?

1044


How to remove duplicate rows from table except one?

1094


How can I check that whether automatic statistic update is enabled or not?

1117


What is the difference between upgrade and migration in sql server?

1186


Can we do dml on views?

1040