Subject | RE: [firebird-support] Selection/group order causes an error |
---|---|
Author | Leyne, Sean |
Post date | 2007-10-31T17:08:33Z |
Paul,
Sean
P.S. FYI: the SQL standard *only* allows for ordinal values in the
GROUP BY clause...
> select cast(rdb$security_class as varchar(80)), 1What is the error message?
> from rdb$database
> group by 1, 2
>
> select cast(rdb$security_class as varchar(80)), 1
> from rdb$database
> group by 2, 1
>
> The first one passes, and the second one fails.
Sean
P.S. FYI: the SQL standard *only* allows for ordinal values in the
GROUP BY clause...