Database Toolbox Previous page   Next Page
isnullcolumn

Detect if last record read in resultset was NULL

Syntax

Description

a = isnullcolumn(rset) returns 1 if the last record read in the resultset rset, was NULL, and returns 0 otherwise.

Examples

Example 1--Result Is Not NULL

Type

MATLAB returns

indicating that the last record of data retrieved was not NULL. To verify this, type

MATLAB returns

Example 2--Result Is NULL

MATLAB returns

indicating that the last record of data retrieved was NULL. To verify this, type

MATLAB returns

See Also
get, resultset


Previous page  isjdbc isreadonly Next page

© 1994-2005 The MathWorks, Inc.