adspace


What are the dis_advantages of stored procedures, triggers,
indexes?

Answer Posted / Ajay Kumar Chaudhary

Stored Procedures, Triggers, and Indexes have several disadvantages:
1. Stored Procedures: They can be difficult to debug and modify since they encapsulate multiple SQL statements.
2. Triggers: Can lead to performance issues due to their execution being triggered by other events and causing cascading effects.
3. Indexes: While beneficial for query performance, they consume additional storage space, take time to create and maintain, and can slow down data modification operations.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What kind of problems occurs if we do not implement proper locking strategy?

1500


What is standby servers? Explain types of standby servers.

1081


Equi join and non equi join is possible with sql server?

1134


What is the difference between for xml raw and for xml auto?

1119


Explain “row_number()” in sql server with an example?

1080


What are different types of constraints?

1003


explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

1134


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1300


How to remove duplicate rows from table except one?

1090


Why and when do stored procedure recompile?

1064


What is self contained sub query?

1141


What are the properties of the transaction?

1074


How to rebuild the master database?

1167


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

1024


Can one drop a column from a table?

1091