I'm doing insert into database and I define the result set as integer and set it to zero before I call method to execute the SQL. If I have a result set thats a string I check to see if its NOT null. But how do you check when you return an integer. I know this is very simple but my brain is blocking it. I've serached the internet but I'm confused with some of the answers.