Which is faster view or stored procedure?
Answer / 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 |
how does a local variable is defined using t-sql? : Transact sql
What is clause in sql?
What are the advantages of pl sql over sql?
What has stored procedures in sql?
How do I partition in sql?
What is a delimiter in sas?
Which are the different case manipulation functions in sql?
What do you think about pl/sql?
what is oltp (online transaction processing)? : Sql dba
What is sql constant?
I have a table with 1 million records out of which 10,000 records are of unique records, then if I will implement index, then which type of index shall I use and why shall I use?
What are records give examples?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)