[XML-SIG] python+xml+sql

Stephane Bortzmeyer bortzmeyer at nic.fr
Thu May 29 14:21:04 CEST 2008


On Mon, May 26, 2008 at 06:23:01PM -0400,
 Oscar Luis Garcell Martinez <olgarcell at estudiantes.uci.cu> 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.
-------------- next part --------------
An embedded message was scrubbed...
From: Chris Cogdon <ccogdon at truviso.com>
Subject: Re: am I doing something wrong or is this a bug
Date: Thu, 10 Jan 2008 21:03:34 -0800
Size: 5418
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20080529/7d414598/attachment.eml>


More information about the XML-SIG mailing list