Re: Can't Add Variable

2010-01-04 Thread MRAB
alex23 wrote: On Jan 5, 3:40 am, Joe Riopel wrote: On Mon, Jan 4, 2010 at 12:28 PM, Victor Subervi wrote: Hi; I have this code snippet: sql '''create table if not exists %sCustomerData ( I think you may have forgotten the "=" after sql. Jesus wept. How long is this list going to contin

Re: Can't Add Variable

2010-01-04 Thread alex23
On Jan 5, 3:40 am, Joe Riopel wrote: > On Mon, Jan 4, 2010 at 12:28 PM, Victor Subervi > wrote: > > Hi; > > I have this code snippet: > > >     sql '''create table if not exists %sCustomerData ( > > I think you may have forgotten the "=" after sql. Jesus wept. How long is this list going to con

Re: Can't Add Variable

2010-01-04 Thread Victor Subervi
On Mon, Jan 4, 2010 at 1:42 PM, Chris Rebert wrote: > On Mon, Jan 4, 2010 at 9:28 AM, Victor Subervi > wrote: > > Hi; > > I have this code snippet: > > > > sql '''create table if not exists %sCustomerData ( > > You're missing an equal sign there to start with (i.e. sql = '''). > LOL. I thin

Re: Can't Add Variable

2010-01-04 Thread MRAB
Victor Subervi wrote: Hi; I have this code snippet: sql '''create table if not exists %sCustomerData ( ID tinyint(8) unsigned primary key auto_increment, Email varchar(120) not null, PhoneNumber varchar(20) not null, BillingName varchar(80) not null, BillingAddr

Re: Can't Add Variable

2010-01-04 Thread Chris Rebert
On Mon, Jan 4, 2010 at 9:28 AM, Victor Subervi wrote: > Hi; > I have this code snippet: > >     sql '''create table if not exists %sCustomerData ( You're missing an equal sign there to start with (i.e. sql = '''). Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listi

Re: Can't Add Variable

2010-01-04 Thread Stephen Hansen
On Mon, Jan 4, 2010 at 9:28 AM, Victor Subervi wrote: > Hi; > I have this code snippet: > > sql '''create table if not exists %sCustomerData ( > You left out the actual assignment operator. --S -- http://mail.python.org/mailman/listinfo/python-list

Re: Can't Add Variable

2010-01-04 Thread Joe Riopel
On Mon, Jan 4, 2010 at 12:28 PM, Victor Subervi wrote: > Hi; > I have this code snippet: > >     sql '''create table if not exists %sCustomerData ( I think you may have forgotten the "=" after sql. -- http://mail.python.org/mailman/listinfo/python-list

Can't Add Variable

2010-01-04 Thread Victor Subervi
Hi; I have this code snippet: sql '''create table if not exists %sCustomerData ( ID tinyint(8) unsigned primary key auto_increment, Email varchar(120) not null, PhoneNumber varchar(20) not null, BillingName varchar(80) not null, BillingAddress1 varchar(100) not nu