MySQL Forums
Forum List  »  Full-Text Search

empty set in mysql
Posted by: red blue
Date: January 02, 2009 12:41AM

i have a resultset that returns nothing how can i detect this with an if statement
for example

if(rs1==null{
do this }

basically if a mysql search that i run returns nothing it returns a value of empty set how would i detect this with java code null does not work thanks.

Options: ReplyQuote


Subject
Views
Written By
Posted
empty set in mysql
16688
January 02, 2009 12:41AM
6284
January 02, 2009 08:05AM
5220
January 02, 2009 11:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.