I tried this but it fails ' + Use not valid'

SELECT "OEINH2"."IHDOCD", "OEINH2"."IHINV#", "ADRES1"."ADINTA",
"ADRES1"."ADENT#", "ADRES1"."ADSFX#", concat (adres1.adent# +
adres1.adsfx#) as grc#

On Mon, Aug 1, 2016 at 8:59 PM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

I would like to make a join as follows:

SELECT "OEINH2"."IHDOCD", "OEINH2"."IHINV#", "ADRES1"."ADINTA",
"ADRES1"."ADENT#", "ADRES1"."ADSFX#"
FROM "ASTDTA"."OEINH2" "OEINH2" INNER JOIN "S1047N4M"."ASTDTA"."ADRES1"
"ADRES1" ON "OEINH2"."IHENT#"="ADRES1"."ADENT#"


the inner join is not what we want.

we want to join on a field called OEINH2.IHGRC# to a concat of

ADRES1.ADENT# + ADRES1.ADSFX#

I am not attaining success in solving this riddle.





This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].