Afficher un message
Vieux 21/02/2008, 15h15   #3
Peter Hickman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: beginner's problem with sqlite3

Tom Cloyd wrote:
> db.execute( 'INSERT INTO newsheap(datecol titlecol urlcol summarycol)
> VALUES(date title url summary)' )



I would have written the sql with a few commas and a semi colon.

INSERT INTO newsheap (datecol, titlecol, urlcol, summarycol) VALUES
(date, title, url, summary);

Pretty sure that's the error

  Réponse avec citation
 
Page generated in 0,04684 seconds with 9 queries