Re: [sqlite] creating a table with an index

2008-02-14 Thread BareFeet
Hi Sam, > I am trying to create a table with two indexes: > > CREATE TABLE favorites ( > cust_id CHAR(32) NOT NULL, > fldoid CHAR(38) NOT NULL, > imgoid CHAR(64) NOT NULL, > PRIMARY KEY (cust_id), > INDEX (fldoid, imgoid)); > > SQLite keeps complaining saying there is an error around

Re: [sqlite] creating a table with an index

2008-02-13 Thread Igor Tandetnik
"Sam Carleton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am trying to create a table with two indexes: > > CREATE TABLE favorites ( >cust_id CHAR(32) NOT NULL, >fldoid CHAR(38) NOT NULL, >imgoid CHAR(64) NOT NULL, >PRIMARY KEY (cust_id), >INDEX (fldoid,

[sqlite] creating a table with an index

2008-02-13 Thread Sam Carleton
I am trying to create a table with two indexes: CREATE TABLE favorites ( cust_id CHAR(32) NOT NULL, fldoid CHAR(38) NOT NULL, imgoid CHAR(64) NOT NULL, PRIMARY KEY (cust_id), INDEX (fldoid, imgoid)); SQLite keeps complaining saying there is an error around INDEX. What might