Sounds like you just need to chomp the newline off.
In reply to Re: Can't query SQLite in a while loop by derby in thread Can't query SQLite in a while loop by josef