sql server - T-SQL - Aliasing using "=" versus "as" -


is there particular reason (performance or otherwise) use ahead of = when aliasing column?

my personal preference (for readability) use this:

select alias1     = somecolumn alias2     = anothercolumn tables etc... 

instead of this:

select somecolumn alias1 anothercolumn alias2 tables etc... 

am missing out on reason why shouldn't doing this? other people's preferences when comes formatting columns?

‘=’ isn't valid ansi sql, you'll have difficulty should wish run application on different dbms.

(it's when ansi form used optional ‘as’ omitted find results difficult read, personally.)


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -