Subject | Re: Problem with Not null colum indicator |
---|---|
Author | Roman Rokytskyy |
Post date | 2002-10-24T15:58:33Z |
Hi,
then row[i] is not null. Code seems to be a little bit strange, but I
do not see problem there. Can you explain in details what you mean?
How did you solve it in your .Net provider?
Best regards,
Roman Rokytskyy
> For obtain a value indicating if a column allow null values the GDSWhy not? row[i] is null only when sqlind was -1. If sqlind was 0,
> implementation make this in isc_dsql_fetch:
>
> xsqlda.sqlvar[i].sqlind = (row[i] == null ? -1 : 0);
>
>
> This is not a correct way for doing this, only if you have luck you
> will obtain the correct value.
then row[i] is not null. Code seems to be a little bit strange, but I
do not see problem there. Can you explain in details what you mean?
How did you solve it in your .Net provider?
Best regards,
Roman Rokytskyy