http://javaperformanceoptimization.nirmaldelli.com/
http://stackoverflow.com/questions/42824366/sql-server-doesnt-have-the-statistics-for-the-table-variable?noredirect=1#comment72769216_42824366