Re: Answer please...
Posted in 1994
Jose Antonio Robles Flores — — source: Informix-list mailing list archive (1991-1998)
LOBO wrote: > > How I can create a table using variable table name, if this name is input > by keyboard ? > > How about: DATABASE ejemplo MAIN DEFINE wname CHAR(20), wcommand CHAR(100) PROMPT "Input name for table : " FOR wname LET wcommand = "CREATE TABLE ",wname CLIPPED, " (column1 CHAR(1)) " PREPARE pcreate FROM wcommnad EXECUTE pcreate END MAIN ---------------------------------------------------------------------- Jose Antonio Robles SUNAT. Lima / Peru joser@sunat.gob.pe ----------------------------------------------------------------------