Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 2 of 2 total |
Incorrect union result |
Thu, Mar 22 2007 7:20 AM | Permanent Link |
"Ole Willy Tuv" | drop table test;
create table test ( col1 integer, col2 varchar(10), col3 date ); insert into test values (1,'Value 1',current_date); insert into test values (2,'Value 2',current_date); insert into test values (3,'Value 3',current_date); select col1, col2, col3 from test union all select 10, 'Value', current_date from test The rows belonging to the second part of the union have null values in every column. UNION DISTINCT works as expected: select col1, col2, col3 from test union select 10, 'Value', current_date from test Ole Willy Tuv |
Thu, Mar 22 2007 5:47 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ole,
<< The rows belonging to the second part of the union have null values in every column. >> It's the same issue as the 'B' sub-select that you reported. There's an issue with live queries and expression columns. Essentially EDB is not applying the mapping of the expression columns at the correct time. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |