Hi, Is it possible to create an alias from a concatenation of a column and a string or another column? For exmple:
Select ID + ' ' + FName as ID +'2008XYZ'
from employee;
Result: (say ID=1001)
10012008XYZ <--- column alias
1001 John <--value
I have trid but getting errors. I am using SQL Server 2005. Thanks in advanced.
Select ID + ' ' + FName as ID +'2008XYZ'
from employee;
Result: (say ID=1001)
10012008XYZ <--- column alias
1001 John <--value
I have trid but getting errors. I am using SQL Server 2005. Thanks in advanced.