insert string problems..
Abandoned
besturk at gmail.com
Sun Oct 28 03:33:45 EDT 2007
More information about the Python-list mailing list
Sun Oct 28 03:33:45 EDT 2007
- Previous message (by thread): insert string problems..
- Next message (by thread): insert string problems..
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Also..
a="123,245,1235,663"
cursor.execute("SELECT id, name FROM data WHERE id in (%s)", (a,))
In this query must be:
SELECT id, name FROM data WHERE id in (123,245,1235,663)
but it looks:
SELECT id, name FROM data WHERE id in ("123,245,1235,663")
How can i delete " ?
- Previous message (by thread): insert string problems..
- Next message (by thread): insert string problems..
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list