Subject | Re: [firebird-support] uppercase field name |
---|---|
Author | Mark Rotteveel |
Post date | 2011-05-10T08:07:30Z |
On 10-5-2011 9:17, Olaf Kluge wrote:
tablename won't work, while select ... from "tablename" will work. This
is basic and documented Firebird behavior
is case-sensitive. Unquoted identifiers are technically
case-insensitive, but treated as though they are uppercase. so an
identifier tablename does not match "tablename".
Mark
--
Mark Rotteveel
> my co-worker has created a new table, unfortunately he named the fields withYour co-worker quoted the identifiers, which means that select ... from
> lower case. Now, I can not read the columns with a sql-query and not delete
> the table too.
tablename won't work, while select ... from "tablename" will work. This
is basic and documented Firebird behavior
> How it Is ab problem If I named the tablefields in lowercase? I knew theFirst it isn't a problem. If an identifier is quoted during creation it
> problem and have named the fields in upper case all the time and with older
> versions of firebird.
is case-sensitive. Unquoted identifiers are technically
case-insensitive, but treated as though they are uppercase. so an
identifier tablename does not match "tablename".
> How can I delete this table, especially the primary key? Currently I get theQuote the identifier in your statements.
> error message “object index is in use” by deleting the field with primary
> key and “object tablename is in use” by deleting the entire table.
Mark
--
Mark Rotteveel