Re: How to initialize fields
Posted in 2012
I don't understand very well, can you give me a sort of sample code ? If I using your example, how can I perform different initializations for the numercic fields (initialized to 0) and alphanumeric (initialized to ' ') Thanks for your response. Il 16/08/2012 15:21, Art S. Kagel ha scritto: > > 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®III > > Francesco 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