Re: python+xml+sql

Stephane Bortzmeyer <[email protected]> Thu, 29 May 2008 14:21:04 +0200
Newsgroups gmane.comp.python.xml
Organization NIC France
Message-ID <[email protected]>
On Mon, May 26, 2008 at 06:23:01PM -0400,
 Oscar Luis Garcell Martinez <[email protected]> wrote 
 a message of 361 lines which said:

> How can i get a well formed output, i means something like this:
> 
> Select * from [usuarios] 

This is certainly not well-formed SQL.

> where = ([usuarios].[passwords] = ¨1a2b¨) AND ([usuarios].[usuario]
> = ¨Pepe¨ OR [usuarios]. [nombre] = ¨Pepe¨)

The obvious, but wrong, solution, is to use print(). The reason why it
is wrong and what you should do is well explained in the attached
message.

_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
(unnamed) (message/rfc822, 5.3 KB) - not displayed