Create Function IDS2000
Posted in 2000
Felice Caccamo — — source: Informix-list mailing list archive (1991-1998)
Hi Everybody,
I'm tring to create a particolary Fuction.
its duty is this:
CREATE FUNCTION funct1 (nometab)
RETURNING char(2);
CREATE TABLE nometab (colx INT); RETURN 'OK';
END FUNCTION;
nometab = function's parameter.
Then I would like to realize a function that will create a table with
the same name of the
function's parameter.
Infact nometab is the function's parameter and when I will execute it :
"execute functl(lavoro)"
the Informix Server will create a new table lavoro.
Someone know an alternative way to do this ???
Tahnks a lots.
Bye
I would like to know if someone know if