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: Informix-list mailing list archive (1991-1998)
David Gress wrote:
>
> In informix 7.3 on UNIX i want to do the following in the Stored Procedure
> Language:
> create procedure test( colName varchar(18))>
> select colName from customers into temp temp1;>
> end procedure;
>
> then run
>
> execute procedure test(customer_name);
Check to Jonathan's reply. However, you could have the stored
procedure create a procedure to select the named column then execute it
then drop the procedure. It is the only way to simulate dynamic SQL in
SPL.
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.