Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
On Mon, Aug 1, 2016 at 8:59 PM, Hoteltravelfundotcom 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.
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#
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.