Subject | Re: XSQLVAR->sqltype flag bit explained |
---|---|
Author | Roman Rokytskyy <rrokytskyy@yahoo.co.uk> |
Post date | 2003-02-02T22:32:27Z |
> I am trying to get me head around the 'flag bit' in the sqltypeIf (XSQLVAR->sqltype & 1) == 1, XSQLVAR->sqlind contains information
> field of the XSQLVAR structure?
>
> Can anyone enlighten me on it's function?
if value is NULL or not.
If field is declared NOT NULL, XSQLVAR->sqltype & 1 == 0. If XSQLVAR-
>sqltype & 1 == 1 && XSQLVAR->sqlind == 0, field is not NULL,otherwise it is NULL.
Best regards,
Roman Rokytskyy