grofaty,
I surprised!
Thank you very much!
Though I saw it many times in syntax diagram in "SQL Reference" manual and in "Information Center",
until now I didn't noticed CONCAT
operator.(I know CONCAT function.)
I found a note in the manual "DB2 for LUW SQL Reference Volume 1"
Quote:
|
|| may be used as a synonym for CONCAT.
|
More detailed description was in "DB2 Universal Database for z/OS SQL Reference"
Quote:
Both CONCAT and the vertical bars (||) represent the concatenation operator.
Vertical bars (or the characters that must be used in place of vertical bars in some
countries) can cause parsing errors in statements passed from one DBMS to
another. The problem occurs if the statement undergoes character conversion with
certain combinations of source and target CCSIDs. Thus, CONCAT is the
preferable concatenation operator.
|
------------------------------------------------------------------
Even if I thought I knew enough in a field(DB2 SQL),
there are more things to learn.
Study will never end until my death.
------------------------------------------------------------------