> -----Original Message----- > From: Igor Tandetnik [mailto:[EMAIL PROTECTED] > Sent: Friday, September 15, 2006 10:27 AM > To: SQLite > Subject: [sqlite] Re: Re: Re: Which API to use to get > resultant of query > > > sandhya <[EMAIL PROTECTED]> wrote: > > But where as when i am executing the same from command prompt it is > > showing > > the OID alone. > > Why it is showing DONE when i am doing it through program?Anything > > wrong? > > Check your condition. Make sure it's the same as the one you use in > console. Most likely, you've simply misspelled the string in > the sprintf > call and it cannot be found in the table. > > As a sanity check, drop the condition and see if you can get > anything at > all with a simple query like "select oid from tablename;" > > Igor Tandetnik >
Just a suggestion. When I am learning a new language, database, etc. I sometimes find working with and even stepping through supplied samples prove to be the quickest way to gain insight into how the new entity works. Saves both me and a lot of other people a lot of time and effort. Fred ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

