On 7/16/2010 7:39 AM, MRAB wrote:
Victor Subervi wrote:
Hi;
I have the following code:
cursor.execute('select MyTable from optionsDetails where Store=%s',
(store,))
options_tables = [item[0] for item in cursor]
for table in options_tables:
cursor.execute('select * from %' % table)
As has b
On Fri, Jul 16, 2010 at 10:09 AM, MRAB wrote:
> Victor Subervi wrote:
>
>> Hi;
>> I have the following code:
>>
>>cursor.execute('select MyTable from optionsDetails where Store=%s',
>> (store,))
>>options_tables = [item[0] for item in cursor]
>>for table in options_tables:
>> cur
Victor Subervi wrote:
Hi;
I have the following code:
cursor.execute('select MyTable from optionsDetails where Store=%s',
(store,))
options_tables = [item[0] for item in cursor]
for table in options_tables:
cursor.execute('select * from %' % table)
Should be:
'select *
Hi;
I have the following code:
cursor.execute('select MyTable from optionsDetails where Store=%s',
(store,))
options_tables = [item[0] for item in cursor]
for table in options_tables:
cursor.execute('select * from %' % table)
You can already see what my question is. One of y'all