SQL escape sequence problems
Asle Pedersen
apederse at siving.hia.no
Wed Jan 19 05:41:20 EST 2000
More information about the Python-list mailing list
Wed Jan 19 05:41:20 EST 2000
- Previous message (by thread): SQL escape sequence problems
- Next message (by thread): Looking for open source hosting site
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm trying to run the following code: father="something" sql="SELECT FROM TABLE WHERE MESSAGEID='%s'" % (father) MySQL.escape(sql) but there is a problem since ' is really an escape character. How can I get around this problem? I'm using MySQLmodule-1.2. running under win32 enviroment. I have tried to get a compiled version of the MySQLdb module whithout any success. regards, Asle
- Previous message (by thread): SQL escape sequence problems
- Next message (by thread): Looking for open source hosting site
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list