Re: host variables
Posted in 1994
Jonathan Leffler — — source: Informix-list mailing list archive (1991-1998)
}From: mltsa!jgill@mlgtw.att.com
}Date: Thu, 2 Jun 94 14:02:19 BST
}Subject: host variables
}X-Informix-List-Id: <list.4061>
}
}can this be done is esql/c
}
} $char cust_name[12]
}
} select $cust_name fron table_t
}
} where "cust_name" is a host var
I think you're looking for:
$ select cust_name into $cust_name from table_t;
Unless you only have one customer in table_t, you'd have to use a cursor
for the SELECT statement.
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>