[Tutor] insert in postgresql

ajstec ajstec at bol.com.br
Wed Oct 1 11:35:17 EDT 2003


Hi all,

    I am using pypgsql, and try :

>>> a='cat'
>>> b='dog'
>>> db.query("insert into curso values
(default,"%(a)","%(b)")")
SyntaxError: invalid syntax

Howto ?

Ité (Bye) !

Adilton Silva
Recife - Brasil
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/





More information about the Tutor mailing list