Re: MySQLdb question... using table name as arg

2006-02-03 Thread Jim Segrave
In article <[EMAIL PROTECTED]>, Sean Berry <[EMAIL PROTECTED]> wrote: >I have four tables that all have the same column names (50 in each.) > >I have created an admin program to edit, delete and add records to the >tables and would like to use the table name as a variable in each query so >the co

Re: MySQLdb question... using table name as arg

2006-02-03 Thread Scott David Daniels
Carsten Haese wrote: > On Fri, 2006-02-03 at 13:24, Sean Berry wrote: >> I have four tables that all have the same column names (50 in each.) >> I ... would like to use the table name as a variable in each query so >> the code can be used for each of the 4 tables >> To ensure that string are q

Re: MySQLdb question... using table name as arg

2006-02-03 Thread Sean Berry
"Carsten Haese" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 2006-02-03 at 13:24, Sean Berry wrote: >> I have four tables that all have the same column names (50 in each.) >> >> I have created an admin program to edit, delete and add records to the >> tables and would lik

Re: MySQLdb question... using table name as arg

2006-02-03 Thread Carsten Haese
On Fri, 2006-02-03 at 13:24, Sean Berry wrote: > I have four tables that all have the same column names (50 in each.) > > I have created an admin program to edit, delete and add records to the > tables and would like to use the table name as a variable in each query so > the code can be used for

MySQLdb question... using table name as arg

2006-02-03 Thread Sean Berry
I have four tables that all have the same column names (50 in each.) I have created an admin program to edit, delete and add records to the tables and would like to use the table name as a variable in each query so the code can be used for each of the 4 tables. Usually I would do something lik