×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Burkhard,

Are there any SQL Options you have to set for this to work?

For me, the "cast(listagg(b.VQNOTE ) AS char(150)) as notes" works.
But once I wrap it with "create table qtemp/f1 as (.......) with data", it no longer works. The field in qtemp/F1 contains blanks.



Ron Hudson | Programmer / Analyst
+1.704.752.6513 x1324
www.invue.com
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of B.Quindt@xxxxxxxxxxxx
Sent: Monday, January 27, 2020 9:42 AM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: RE: SQL LISTAGG() built-in function


Hi,
if you use

"cast(listagg(b.VQNOTE ) AS char(150)) as notes"

it works.

Best regards
Burkhard

ZAPF GmbH
N?rnberger Strasse 38 - 95448 Bayreuth - Telefon (09 21) 6 01-0 - Telefax (09 21) 6 01-6 77 Sitz der Gesellschaft: Bayreuth - Registergericht: AG Bayreuth HRB 3204
Gesch?ftsf?hrer: Emmanuel Thomas, J?rg G?nther info@xxxxxxxxxxxx - www.zapf-gmbh.de


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.