Subject | Re: [IBO] cast in select needs alias |
---|---|
Author | Marco Lauria |
Post date | 2001-11-09T10:44:52Z |
At 10.55 09/11/2001 +0100, you wrote:
Regards
Marco Lauria
STARMAX s.a.s.
>Hello,I encountered in this problem too use
>
>a select like 'select cast('234' as integer) from ...' in IB_SQL results in
>an error 'Fieldname: not found'.
>In IBConsole it doesn't.
>Giving an alias like 'select cast('234' as integer) dummynumber from ...'
>helps.
>
>Greetings Dieter Tremel
>select cast('234' as integer) as fieldname from ...it will work.
Regards
Marco Lauria
STARMAX s.a.s.