开发者

How to String Concatenation in Entity SQL?

开发者 https://www.devze.com 2023-02-17 07:30 出处:网络
A very quick question SQL: SELECT VALUE ROW( (\'#\' + CAST(pack.PackageID as Edm.String)) as PackageID) From ProductPackage

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



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

0

精彩评论

暂无评论...
验证码 换一张
取 消