pstmt = con->prepareStatement("SELECT id FROM test ORDER BY id ASC"); res = pstmt->executeQuery(); res->next(); if(res->isNull(1)) { cout << " In null"; } else { cout << " Is not Null"; }
if(res->next())
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)