Why does this SQL index not get used?

Why does this SQL index not get used in production. The SQL query wraps the indexed column in a function, preventing index use. In SQL services this turns fast queries into table scans.

#whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqlindex #sqlfunctiononcolumn #sqlqueryplan #sqlo...

https://www.youtube.com/watch?v=Ma8U7xPuZZc

Why does this SQL index not get used? #sqlproductionbug

YouTube