AW: AW: [sqlite] Re: Queries fail - I can't figure out why

2006-09-25 Thread michael . ruck
Nevermind the issue. I've found my problem: I bound my string using character length instead of byte length for UTF-16. Problem solved. Mike >Hi, > >Yes I showed an example query. The query I used for sqlite3_prepare >is the following: > >SELECT * FROM Objects WHERE ObjectID = ? > >If I'd put

AW: [sqlite] Re: Queries fail - I can't figure out why

2006-09-25 Thread Michael Ruck
Hi, Yes I showed an example query. The query I used for sqlite3_prepare is the following: SELECT * FROM Objects WHERE ObjectID = ? If I'd put quotes around the question mark, binding would have failed. Interestingly I've even had some queries fail in the SQLite shell yesterday. Others worked.