Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What ADO finction is used to test to see if a query excuted on a database returned null?
Posted
Comments
Richard MacCutchan 4-Feb-14 13:13pm    
It depends on the command and method used to execute it. Check the documentation.

1 solution

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.
 
Share this answer
 
Comments
Gbenbam 20-Feb-14 10:18am    
Thanks.This has proved useful

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900