How To Write SQL Server Queries Correctly: Views vs Inline Table Valued Functions

preview_player
Показать описание


If you like what you see here, you'll love my advanced performance tuning training:
Рекомендации по теме
Комментарии
Автор

Major props for the Divine Comedy reference. I'm more convinced than ever that you have peeked inside my employer's SQL Servers...

Garstor
Автор

Had one where they got a datatype error if they indexed a big table, because 11 or so views down in the right view branch of like 20 it started filtering on another column first that had bad predicate. You get so much oh help on where the error is also... So much fun.

Автор

I take the viewpoint that Views should answer a question. And not be nested to answer other questions.
On another good point my company have agreed to use RCSI for new developments..Yippeee🎉

stephenlawrenson
Автор

10:58 but, you can persist a computed column, which behaves somewhat like a function, and index it to enhance performance.

caparn
Автор

6:46 Please, please, please, tell me that you are either making a video on this or have already made one. I'm in an argument with my senior over this.

FlaggedStar
join shbcf.ru