Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 9 of 9 total |
EDB does not support Order by with Union ? |
Sat, Jul 14 2007 10:39 PM | Permanent Link |
"Tom" | Is it bug or no support?
|
Mon, Jul 16 2007 4:43 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Tom,
<< Is it bug or no support? >> Could you give me an example of the SQL that you're trying to execute ? You have to include parentheses around the second and subsequent SELECT statements if using an ORDER BY statement: SELECT * FROM MyTable UNION (SELECT * FROM MyTable) ORDER BY MyColumn -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Jul 16 2007 6:05 PM | Permanent Link |
"Tom" | Thanks.
I didn't know there must be (..) for second select. "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message news:B708E8D7-B0F2-4588-BF8A-57CC199185F3@news.elevatesoft.com... > Tom, > > << Is it bug or no support? >> > > Could you give me an example of the SQL that you're trying to execute ? > You have to include parentheses around the second and subsequent SELECT > statements if using an ORDER BY statement: > > SELECT * FROM MyTable > UNION > (SELECT * FROM MyTable) > ORDER BY MyColumn > > -- > Tim Young > Elevate Software > www.elevatesoft.com > |
Tue, Jul 17 2007 1:11 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Tom,
<< I didn't know there must be (..) for second select. >> I'll make a note of it in the manual. -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Jul 17 2007 6:27 PM | Permanent Link |
"Ole Willy Tuv" | Tim,
<< You have to include parentheses around the second and subsequent SELECT statements if using an ORDER BY statement: >> I'm not sure if this requirement is a parser limitation in EDB or something else, but I hope you'll implement standard SQL syntax/behavior for UNION with ORDER BY. Ole Willy Tuv |
Wed, Jul 18 2007 12:39 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ole,
<< I'm not sure if this requirement is a parser limitation in EDB or something else, but I hope you'll implement standard SQL syntax/behavior for UNION with ORDER BY. >> It's a parser limitation. I can't remember off-hand why it is, but I'll take another look at it and see what I can find. -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Jul 19 2007 4:05 PM | Permanent Link |
"Ole Willy Tuv" | Tim,
<< It's a parser limitation. I can't remember off-hand why it is, but I'll take another look at it and see what I can find. >> Have you fixed it already ? Standard UNION/ORDER BY syntax seems to work fine with 1.04 b6. Ole Willy Tuv |
Thu, Jul 19 2007 4:18 PM | Permanent Link |
"Jose Eduardo Helminsky" | Ole
I think it has been fixed. http://www.elevatesoft.com/scripts/incident.dll?action=viewrep&category=edb&release=1.04&type=f&incident=2414 Eduardo |
Thu, Jul 19 2007 5:32 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Ole,
<< Have you fixed it already ? Standard UNION/ORDER BY syntax seems to work fine with 1.04 b6. >> Yep. -- 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 |