Subject | Re: [IBO] Stored procedure problem |
---|---|
Author | Helen Borrie |
Post date | 2003-02-11T23:59:43Z |
At 05:23 PM 11/02/2003 -0600, you wrote:
provide an alias name:
'FG' || M1.FG AS Something,
Then the dataset will be able to handle it as a column.
Helen
>FYI:For alias server-computed columns you need to use the AS keyword and
>
>I have a stored procedure that works but when I copy the select part and put
>it in a query statement in IB_SQL to test it I get an error. The error
>says: "Field name: not found"
>
>SELECT P1.COMPANY, CALL_DATE, M1.Trunk_id, M1.Carrier_id, 'FG' || M1.FG,
><===Error occures here
provide an alias name:
'FG' || M1.FG AS Something,
Then the dataset will be able to handle it as a column.
Helen