Oh, I see, now. Thank you very much for the explanation. I'm sure I read this before and applied it when the queries returned more than one row. But I use SQLite in small intervals with with big gaps in between and got stupid. I don't think I'll forget this again now. Thanks a lot.