Re: [sqlite] 1: near ")": syntax error

2012-08-08 Thread Marc L. Allen
Try removing the comma before the closing parenthesis? And add a semi-Colin after the create table command. On Aug 9, 2012, at 12:04 AM, "Brandon Pimenta" wrote: > I just found a bug in SQLite. It says "1: near ")": syntax error". Here's > my SQL query: > >

Re: [sqlite] 1: near ")": syntax error

2012-08-08 Thread Rick Maddy
Get rid of the comma at the end of the 'timestamp' line. Rick On Aug 8, 2012, at 10:03 PM, Brandon Pimenta wrote: > I just found a bug in SQLite. It says "1: near ")": syntax error". Here's > my SQL query: > > CREATE TABLE online_status ( > username varchar(255) NOT NULL default '', >