adspace


Why we use stored procedure instead of query?

Answer Posted / Idreesh Ahamad

Stored procedures are pre-compiled SQL scripts that can be reused multiple times in a database. They offer several advantages over regular queries: improved performance due to pre-compilation and execution plan caching, enhanced security through parameterization, and the ability to perform complex business logic.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are all the common sql function? : Sql dba

1141


how to escape special characters in sql statements? : Sql dba

1124


What is your daily office routine?

2353


Is primary key always clustered index?

1101


what is dbms? : Sql dba

1070


What is the current version of sql?

1106


what are the advantages of sql ? : Sql dba

1154


define sql insert statement ? : Sql dba

1110


What is the current version of postgresql?

1188


what is bcp? When does it used? : Sql dba

1065


how to use regular expression in pattern match conditions? : Sql dba

1125


how many tables will create when we create table, what are they? : Sql dba

1156


What is the best sql course?

1064


what are aggregate and scalar functions? : Sql dba

1142


what is schema? : Sql dba

1163