all groups > sql server programming > june 2004 >
You're in the

sql server programming

group:

Performance Issue


Performance Issue babz
6/21/2004 10:55:01 PM
sql server programming:
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.

It looks silly, but I need your help.

RE: Performance Issue Beeeeeeeeeeeeves
6/22/2004 5:07:01 AM
They were probably seeing how silly you would be to believe them.

[quoted text, click to view]
Re: Performance Issue Roji. P. Thomas
6/22/2004 11:49:01 AM
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]
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]

AddThis Social Bookmark Button