adspace


Which is faster view or stored procedure?

Answer Posted / Rishabh Kesarwani

Generally speaking, stored procedures tend to be faster than views because views are essentially SQL queries that are saved as database objects. They are evaluated each time they are accessed, which can lead to performance issues if the query is complex or the data being accessed is large. Stored procedures, however, are precompiled and executed more efficiently.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1154


Is primary key always clustered index?

1101


What is your daily office routine?

2351


Do we need to rebuild index after truncate?

1151


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

1124


What is the current version of postgresql?

1188


what are aggregate and scalar functions? : Sql dba

1142


Is inner join faster than left join?

1287


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2099


Can delete statement be rollbacked?

1065


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

1065


Can we use distinct and group by together?

1146


What is the current version of sql?

1106


If a cursor is open, how can we find in a pl/sql block?

1252


what are all the common sql function? : Sql dba

1141