SQLite - Incomplete SQL: exit Error

261 views
Skip to first unread message

SunKol

unread,
Aug 16, 2013, 2:55:19 AM8/16/13
to tas...@googlegroups.com
Hi Experts

I am trying to run a shell command 

sqlite3 /data/data/XXXXXXXXXXXXXX/"SELECT sms_body FROM smsbody WHERE cat_id = 532 LIMIT 1 OFFSET 5;" 

This command giving me error : incomplete SQL : exit

What is wrong here ?? 

(Please note XXXX above is db name which I don't want to disclose. Same Select statement working with database manager)

Thanks
Sunil

TomL

unread,
Aug 16, 2013, 5:34:13 AM8/16/13
to tas...@googlegroups.com
You're missing a space character between the database filename and the select statement.

Reply all
Reply to author
Forward
0 new messages