我正在使用SQLite数据库上的execSQL。 SQL INSERT字符串是
INSERT INTO Tasks
(_id, Aircraft, Station, Discrepancy,DateCreated, CreatedBy, Status, DateClosed, ClosedBy, ArrivalFlightID, RecordChangedByUI)
VALUES
('271104',' ','ORD','Critical Flight (0496/28)','9/4/2011 6:57:00 PM','SYSTEM','NEW','','null','0','N')
表格是...
"create table Tasks
(_id integer primary key, "
+ "Aircraft text null, Station text null, Discrepancy text null, DateCreated text null, CreatedBy text null, Status text null, DateClosed text, ClosedBy text null, ArrivalFlightID text null, RecordChangedByUI text null);";
它抛出了一个异常 "Empty bindArgs"
有人可以告诉我我错在哪里吗?