HP3000-L Archives

June 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Holzer <[log in to unmask]>
Reply To:
Date:
Thu, 12 Jun 1997 08:21:19 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
Mark Wilkinson wrote:
> alphanumeric and you can't use the '+' operator on alphanum fields...
>
> select a.theatre_nr, b.city_name from
> ifds02.theatre_sv a left join
> ifds02.cityv b on
> b.concat_key = 'C' + substring(cast(a.city_nr+10000000,char(8)),2,7);
the string concatatenation operator is '||' so try

b.concat_key = 'C' || substring(cast(a.city_nr+10000000,char(8)),2,7)

Regards

Michael

ATOM RSS1 RSS2