开发者

Concatenate strings in FrontBase SQL

开发者 https://www.devze.com 2023-03-28 22:35 出处:网络
How do I concatenate two string columns in FrontBase SQL queries? I tried what I thought to be was th开发者_如何学编程e standard SQL function:

How do I concatenate two string columns in FrontBase SQL queries?

I tried what I thought to be was th开发者_如何学编程e standard SQL function:

concat(col1, col2)

But an error was raised:

 Semantic error 426. Referenced routine - concat - cannot be resolved.

Any ideas?

PS: Could somebody tag this as FrontBase, I don't seem to have rights for that (<1500 rep).

UPDATE: found the answer here

http://www.analysisandsolutions.com/presentations/portability/slides/concatenation.htm

I don't seem to be able to add Answers to my own question...


In SQL92, the double pipe serves as string concatenation operator:

'X' || 'Y' ==> 'XY'

(and AFAIK FrontBase is SQL92 compliant)

0

精彩评论

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