Well I don't have any test case to show to you, I just know that DBA reported that, after he had built a especial execution plan for the query, the performance had be improved, but, the next day, for the same query, the performance was decreased. When he investigate, he saw that the alias of columns and\or tables were changed, for the same query
I did on more attempting, using named query, but even so, I can't use my alias
So, I getting the conclusion that, the only way to guarantee that the query will be always the same query, is using the native query.
Unfortunately, this is the unique answer.
If you have any idea, I will appreciate.
Thank
|