What are the advantages and disadvantages of using stored procedures versus calling sql inline in cold fusion?



What are the advantages and disadvantages of using stored procedures versus calling sql inline in co..

Answer / Sachin Vishnoi

Advantages of using stored procedures:
1. Improved Performance: Stored procedures can be compiled and optimized by the database engine before execution.
2. Security: They help protect sensitive SQL code from unauthorized users.
3. Reduced Network Traffic: Since the procedure is stored on the server, only the results need to be sent over the network.nnDisadvantages:
1. Inflexibility: Once a stored procedure is created and deployed, it can't be easily changed or updated.
2. Learning Curve: Mastering stored procedures requires understanding of SQL and the specific database system being used.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Warehouse General Interview Questions

what are the types of dimension tables

19 Answers   Infotech,


which automation tool is used in data warehouse testing?

1 Answers  


What are modeling tools available in the market?

1 Answers  


Explain what is ods (operation data source)?

1 Answers  


What is data stream and data adaopter. Is it same are different? Explain?

1 Answers  


What are the advantages and disadvantages of reporting directly against the database?

1 Answers  


Explain ddl (data definition language)?

1 Answers  


Explain degenerate dimension table?

1 Answers  


How can we do data cleaning?

1 Answers  


Write a short note on data warehousing & three-Tier Warehouse architecture in detail.

1 Answers  


What needs to be done while starting the database?

1 Answers  


Explain what are the various reporting tools in the market?

1 Answers  


Categories