Column Alias Support for SQL Queries
When I attempt to use a column alias with the SQL language selected in LINQPad, I am receiving a parse error upon query execution.
The following query concisely illustrates what I am trying to do. The query works fine if I execute it via SSMS or other solutions. Is the column alias feature unsupported by LINQPad?
The following query concisely illustrates what I am trying to do. The query works fine if I execute it via SSMS or other solutions. Is the column alias feature unsupported by LINQPad?
SELECT d.DepartmentId AS Id, d.DepartmentName AS Name FROM Department d
Comments
I just tested something similar to this and it worked.
Also, since it says it works in SSMS, that would suggest it isn't a limitation in SQL CE.