How to String Concatenation in Entity SQL?

橙三吉。 提交于 2019-12-23 03:09:28

问题


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



回答1:


It is a documentation problem. Try System.String instead of Edm.String.



来源:https://stackoverflow.com/questions/5323842/how-to-string-concatenation-in-entity-sql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!