Correction: The error seems to be set in sqlite3VdbeSetSql
because that was the last executed statement.


----- Original Message -----
From: "Kavita Raghunathan" <kavita.raghunat...@skyfiber.com>
To: "sqlite-users" <sqlite-users@sqlite.org>
Sent: Monday, September 21, 2009 11:22:15 AM GMT -06:00 US/Canada Central
Subject: [sqlite] Prepare Error from sqlite


I just put in my sqlite wrappers and started testing. 

I get the following error and when I stepped into the sqlite code, its when 
sqlite3VdbeFinalize is called: 
"prepare error: near ",": syntax error" 


I was trying to do a "sqlite3_prepare_v2" and was using the following sqlstring 
and the following wrapper 
"CREATE TABLE EntityTbl (ID INTEGER PRIMARY KEY AUTOINCREMENT,AttrName 
VARCHAR(50) COLLATE NOCASE,AttrEnum INTEGERAttrType INTEGER,AttrValue 
VARCHAR(128) COLLATE NOCASE,ReadWrite VARCHAR(10),Entity_id INTEGER" 


Anyway I can get a more descriptive error ? 
Thanks! 
Kavita 
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to