Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Art S. Kagel — — source: Usenet: comp.databases.informix
Nirmala Kesavan wrote:
> hi,
>
> is it possible to retrieve the column name or variable name instead of EXPRESSION as a column name in a stored procedure while returning the values .
Depends on what version of IDS you're using (always good to tell us, BTW).
In 9.4+ you can specify labels for multiple return values from a stored
procedure. Syntax is:
create procedure barney( )
returning int as first_col, char(12) as second_col;
Art S. Kagel
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.