0

Which one faster either view or sql query? Please note that both view and sql query having the sql statements.

Venkat
  • 1

2 Answers2

1

They should be equivalent.

A view is essentially just the result set of a stored query, using all the same indexes and data pages as the underlying tables.

Views can have additional indexes added to speed up operations like aggregates. See indexed views.

JNK
  • 63,321
  • 15
  • 122
  • 138
0

This question provides good answers already, check it out!

Query vs. View

Community
  • 1
  • 1
John Humphreys
  • 37,047
  • 37
  • 155
  • 255