Hi, sqlite-users,

am evaluating Sqlite ODBC driver for C (current sqliteodbc.exe by Ch. Werner, 
http://www.ch-werner.de/sqliteodbc/). After defining successfully two tables 
"mytable" and "mysequence", I tried to define a trigger by means of
"CREATE TRIGGER trg BEFORE INSERT ON mytable FOR EACH ROW BEGIN INSERT INTO 
mysequence VALUES(0); END"

This worked fine with sqlite3.c, when passed to sqlite3_exec(), but gave rise 
to an error message with sqlite3odbc.c , when passed to SQLExecDirect(). The 
message was :
"only one SQL statement allowed".

 Is there a special SQL syntax required for sqlite3odbc?
 Are there any (further) restrictions for triggers?
Or is it  a bug?

Best regards

Martin Abshagen

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to