Re: [gnome-db] reserved words



> Il giorno mer, 13/09/2006 alle 11.13 +0200, Murray Cumming ha scritto:
>> Escaping is normally for special characters. Quoting should fix the use
>> of
>> reserved words.
>
> ok, sorry for the wrong term
>
>> The new libgda API should even remove the need to write a SQL command to
>> create a table - you can use libgda API for that, and then you shouldn't
>> have to worry about doing quoting or escaping yourself.
>
> only for table manipulations (create/alter), or also for
> select/update/insert/delete records??? because the problem is also
> present with "select * from values" or width fields which name is a
> reserved word (as "key")

For everything, I believe.

There's also a gda function to escape strings, but I forget what it is
called.

Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]