Re: mysql record field formats

2012-01-11 Thread Sean Corfield
On Wed, Jan 11, 2012 at 6:27 AM, jayvandal wrote: > What is the format error? When you post a question, please post the exact error you get, otherwise how are we supposed to know what "format error" you are getting? As usual, the code you show in the email cannot be the code you are running sinc

mysql record field formats

2012-01-11 Thread jayvandal
I 'm having trouble with adding to this table I cand drop the table, create table but can't add this data What is the format error? Thanks for help! (defn create-fruit [] (sql/with-connection db (sql/create-table :fruit [:name "varchar(25)"] [:appearance "varchar(25)"] [:cost "integer

Re: mysql record field formats

2012-01-11 Thread Michael Wood
On 11 January 2012 09:41, jayvandal wrote: > I 'm having trouble with adding to this table > I cand drop the table, create table but can't add this data > > What is the format error? > Thanks for help! > > > (defn create-fruit [] > (sql/with-connection db >  (sql/create-table :fruit >    [:name "v

mysql record field formats

2012-01-10 Thread jayvandal
I 'm having trouble with adding to this table I cand drop the table, create table but can't add this data What is the format error? Thanks for help! (defn create-fruit [] (sql/with-connection db (sql/create-table :fruit [:name "varchar(25)"] [:appearance "varchar(25)"] [:cost "integer