How to String Concatenation in Entity SQL?
-
25-10-2019 - |
Question
A very quick question
SQL:
SELECT VALUE ROW( ('#' + CAST(pack.PackageID as Edm.String)) as PackageID) From ProductPackage
It show error, edm.String not found, I also try String or Varchar,still error.
I have read that reference but no help.
http://msdn.microsoft.com/en-us/library/bb386905.aspx
Solution
It is a documentation problem. Try System.String
instead of Edm.String
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow