Subject | substring in "order by"-clause |
---|---|
Author | kfoinfo |
Post date | 2004-09-21T12:33:05Z |
Hi there,
I'm trying to migrate a Select-Statement from DB2 to Firebird
containing
ORDER BY SUBSTR(colname, 9)
Firebird refuses
ORDER BY SUBSTRING(colname from 9).
I tried some other functions (F_RIGHT,...) -> same result.
Is it generally impossible to use expressions/functions in Firebird-
Order By-Clauses or could someone suggest a solution?
Thanks in advance!
I'm trying to migrate a Select-Statement from DB2 to Firebird
containing
ORDER BY SUBSTR(colname, 9)
Firebird refuses
ORDER BY SUBSTRING(colname from 9).
I tried some other functions (F_RIGHT,...) -> same result.
Is it generally impossible to use expressions/functions in Firebird-
Order By-Clauses or could someone suggest a solution?
Thanks in advance!