Better ask your friend to prove his point.
AFAIK using an alias has no performance impact and
in the execution plan, the cost for the query with and without the
alias are same.
Using Alias is a good programming practice because it improves the
readability of the code, and in case of table variables you cannot avoid
them.
--
Roji. P. Thomas
SQL Server Programmer
[quoted text, click to view] "babz" <babz@discussions.microsoft.com> wrote in message
news:82169014-091D-46DE-B7D2-73F681EE0ABA@microsoft.com...
> Hi,
>
> We people are using alias name for tables in our T-SQL queries. One of my
friend told that alias name will decrease the performance of the query. Is
it right? I have used aliasing in so many queries.
[quoted text, click to view] >
> It looks silly, but I need your help.
>
>