Hello,
I have installed mysqldb python bindings and I am using python to
write to mysql.
I have a field called "Desc" in a database (short for description )
But this name is used by mysql for sorting DESC
When i do:
insert into tablename(id,desc)VALUES(1,'some text')
How do I escape 'desc'? Or m
On Tue, 2007-08-07 at 11:58 -0500, Lukasz Szybalski wrote:
> Hello,
> I have installed mysqldb python bindings and I am using python to
> write to mysql.
>
> I have a field called "Desc" in a database (short for description )
> But this name is used by mysql for sorting DESC
>
> When i do:
> inse
On 8/7/07, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 11:58 -0500, Lukasz Szybalski wrote:
> > Hello,
> > I have installed mysqldb python bindings and I am using python to
> > write to mysql.
> >
> > I have a field called "Desc" in a database (short for description )
> > But t
On Tue, 2007-08-07 at 13:06 -0500, Lukasz Szybalski wrote:
> On 8/7/07, Carsten Haese <[EMAIL PROTECTED]> wrote:
> > On Tue, 2007-08-07 at 11:58 -0500, Lukasz Szybalski wrote:
> > > Hello,
> > > I have installed mysqldb python bindings and I am using python to
> > > write to mysql.
> > >
> > > I ha
On 8/7/07, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 13:06 -0500, Lukasz Szybalski wrote:
> > On 8/7/07, Carsten Haese <[EMAIL PROTECTED]> wrote:
> > > On Tue, 2007-08-07 at 11:58 -0500, Lukasz Szybalski wrote:
> > > > Hello,
> > > > I have installed mysqldb python bindings a
On Tuesday 07 August 2007 19:17, Carsten Haese wrote:
> On Tue, 2007-08-07 at 11:58 -0500, Lukasz Szybalski wrote:
> >
> > When i do:
> > insert into tablename(id,desc)VALUES(1,'some text')
> >
> > How do I escape 'desc'?
>
> insert into tablename(id,`desc`) ...
Obviously MySQL supports the above,
On Wed, 2007-08-08 at 00:40 +0200, Paul Boddie wrote:
> On Tuesday 07 August 2007 19:17, Carsten Haese wrote:
> > On Tue, 2007-08-07 at 11:58 -0500, Lukasz Szybalski wrote:
> > >
> > > When i do:
> > > insert into tablename(id,desc)VALUES(1,'some text')
> > >
> > > How do I escape 'desc'?
> >
> > i
On Tue, 2007-08-07 at 21:37 -0400, Carsten Haese wrote:
> [...] The standard way (at least as far as
> Informix understands it) is not to quote table/column names at all and
> let the parser worry about determining whether the word it's looking at
> is the name of a thing or a keyword. And worry it
Lukasz Szybalski wrote:
> On 8/7/07, Carsten Haese <[EMAIL PROTECTED]> wrote:
>> On Tue, 2007-08-07 at 13:06 -0500, Lukasz Szybalski wrote:
>>> On 8/7/07, Carsten Haese <[EMAIL PROTECTED]> wrote:
On Tue, 2007-08-07 at 11:58 -0500, Lukasz Szybalski wrote:
> Hello,
> I have installed mys
Andy Todd wrote:
> Lukasz Szybalski wrote:
>> On 8/7/07, Carsten Haese <[EMAIL PROTECTED]> wrote:
>>> On Tue, 2007-08-07 at 13:06 -0500, Lukasz Szybalski wrote:
On 8/7/07, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-08-07 at 11:58 -0500, Lukasz Szybalski wrote:
>> Hello,
>>
10 matches
Mail list logo