mcDBgetSetStr — Read string from dataset
#include <memcom.h> char* mcDBgetSetStr(int handle, const char* name);
mcDBgetSetStr
retrieves a string
from a dataset on a database. If completed successfully, the
function returns a pointer to a new NULL-terminated character array
containing the requested data. Otherwise, NULL
is
returned and the error code can be retrieved by the function
mcErrStatus
.
It is strongly advised to free data allocated with
mcDBgetSetStr
by means of the mcDBfree. Note that relational tables
must be freed by means of mcTBfree.