什么ADO结果用于测试以查看在数据库上执行的查询是否返回null? [英] What ADO finction is used to test to see if a query excuted on a database returned null?
本文介绍了什么ADO结果用于测试以查看在数据库上执行的查询是否返回null?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用什么ADO结果来测试查看数据库上执行的查询是否返回null?
What ADO finction is used to test to see if a query excuted on a database returned null?
推荐答案
这是逐字段的。每个字段都有一个值,即一个变体。
参见 http://msdn.microsoft.com/en-us/library/windows/desktop/ms675309(v = vs.85).aspx [ ^ ]
另请参阅: http:// msdn。 microsoft.com/en-us/library/windows/desktop/ms677568(v=vs.85).aspx [ ^ ]
变体类型(在 http://msdn.microsoft.com/en-us/library/cc237865.aspx中解释) [ ^ ])将对于NULL数据库,为VT_NULL电子领域。
希望这会有所帮助,
Pablo。
It is field by field. Each field has a value, that is a variant.
See http://msdn.microsoft.com/en-us/library/windows/desktop/ms675309(v=vs.85).aspx[^]
See also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms677568(v=vs.85).aspx[^]
The variant type (explained in http://msdn.microsoft.com/en-us/library/cc237865.aspx[^]) will be VT_NULL for NULL database fields.
Hope this helps,
Pablo.
这篇关于什么ADO结果用于测试以查看在数据库上执行的查询是否返回null?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文