RE: How to initialize fields
Posted in 2012
Art S. Kagel — — source: Usenet: comp.databases.informix
You can use memset to null out the entire struct which will take care of the binary fields then one field at a time put a space into the first characters of the char fields. Sent from my Galaxy S®IIIFrancesco Alfano <edacedpa@yahoo.it> wrote:Hi, How can I write a routine in Esql/C which initialize to 0 (zero) all numeric fields (smallint, decimal, etc) and to (' ') space the other fields in a table ? Thanks for your response. _______________________________________________ Informix-list mailing list Informix-list@iiug.org http://www.iiug.org/mailman/listinfo/informix-list