It did not like this statement
values(10, 1, 10*10**01, 10*10**02-1)
,values(10, 1, 10*10**02, 10*10**05-1)
,values(10, 1, 10*10**05, 10*10**08-1)
,values(10, 1, 10*10**08, 10*10**11-1)
Number of columns not consistent. (SQL0421)
That message alludes to a UNION.
UNION's are not happy with different data types.
select 'ALPHA', 'BRAVO' FROM SYSIBM/SYSDUMMY1
UNION ALL
SELECT 49.5,CURRENT DATE FROM SYSIBM/SYSDUMMY1
Constant value Constant value
+++++ ++++++++++
49.5 2009-05-12
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.