Re: [gnome-db] reserved words
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Andrea Zagli" <azagli inwind it>
- Cc: gnome-db-list gnome org, Murray Cumming <murrayc murrayc com>
- Subject: Re: [gnome-db] reserved words
- Date: Wed, 13 Sep 2006 12:30:54 +0200 (CEST)
> 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]