Using placeholders in SELECT statements

3 views
Skip to first unread message

sucking.sux

unread,
Oct 28, 2009, 11:19:19 AM10/28/09
to pyodbc
Is it possible to drop a ("SELECT * FROM ?", bb) query with pyodbc?

regards

mkleehammer

unread,
Oct 29, 2009, 10:46:31 AM10/29/09
to pyodbc
No. It supports anything ODBC supports, since it passes the SQL on to
the driver manager.

I think ("SELECT * FROM " + bb) is your best bet.
Reply all
Reply to author
Forward
0 new messages