Subject | Re: [IBO] TableName case sensitivity |
---|---|
Author | Robert Osowiecki |
Post date | 2005-04-05T16:40:56Z |
Jason Wharton wrote:
Table->TableName = "Timestamps",
if (!Table->Exists)
Table->CreateTable();
fails because table exists, but Exists property is false. But when I run:
Table->TableName = "TIMESTAMPS",
if (!Table->Exists)
Table->CreateTable();
everything goes OK. I don't put any quotes in table name, they are just
string delimiters here. :)
Cheers,
Robson.
>You control case sensitivity when you use double quotes around yourI'll make myself more clear. This code:
>identifier names. If you don't use double quotes then it will treat them as
>uppercase.
>
>
Table->TableName = "Timestamps",
if (!Table->Exists)
Table->CreateTable();
fails because table exists, but Exists property is false. But when I run:
Table->TableName = "TIMESTAMPS",
if (!Table->Exists)
Table->CreateTable();
everything goes OK. I don't put any quotes in table name, they are just
string delimiters here. :)
Cheers,
Robson.