MI001
Published 20 November 2017
Table variable is declared but never used
A table variable is declared but never used.
Also, clean code -- without unnecessary and unused parameters, variables, and values -- greatly simplifies the complex task of managing large SQL projects and databases.