Board index » delphi » Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)

Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)

Hi:

I want to put two query like master-detail working with Oracle, and when I
tried to open the query there is an error if the query has requestlife
property to true. If I use a Interbase DataBase it runs all right, So I
suposse that Oracle will be posible, isn't it?

sqlora8.dll    version 5.1.0.6

thanks

 

Re:Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)


So, what's the error?

Quote
"Ramon Mendiguren" <ramonme...@euskalnet.net> wrote in message

news:3e883a1e$1@newsgroups.borland.com...
Quote
> Hi:

> I want to put two query like master-detail working with Oracle, and when I
> tried to open the query there is an error if the query has requestlife
> property to true. If I use a Interbase DataBase it runs all right, So I
> suposse that Oracle will be posible, isn't it?

> sqlora8.dll    version 5.1.0.6

> thanks

Re:Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)


The error is "Table doesn't exist"

"Eric Hill" <e...@ijack.net> escribi en el mensaje
news:3e885a4e$1@newsgroups.borland.com...

Quote
> So, what's the error?

> "Ramon Mendiguren" <ramonme...@euskalnet.net> wrote in message
> news:3e883a1e$1@newsgroups.borland.com...
> > Hi:

> > I want to put two query like master-detail working with Oracle, and when
I
> > tried to open the query there is an error if the query has requestlife
> > property to true. If I use a Interbase DataBase it runs all right, So I
> > suposse that Oracle will be posible, isn't it?

> > sqlora8.dll    version 5.1.0.6

> > thanks

Re:Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)


Ramon,

I'm not sure about Oracle, but when using RequestLive, table names are
case-sensitive.

Good luck,
krf

Quote
"Ramon Mendiguren" <ramonme...@euskalnet.net> wrote in message

news:3e8933c9@newsgroups.borland.com...
Quote
> The error is "Table doesn't exist"

Re:Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)


Not exactly.
With RequestLive=true, BDE quotes table name.

On Oracle table names are case sensitive. If you do a
select * from ATable, server will try to get best match (guess what happens
if you have "atable", "Atable", "ATabLE" and some other idiotic variations),
but if the table name is quoted,
select * from "ATable", server will search exact match.

--
Robert Cerny

Quote
"Kevin Frevert" <ke...@workdrinkingcoffee.com> wrote in message

news:3e899522$1@newsgroups.borland.com...
Quote
> Ramon,

> I'm not sure about Oracle, but when using RequestLive, table names are
> case-sensitive.

> Good luck,
> krf

> "Ramon Mendiguren" <ramonme...@euskalnet.net> wrote in message
> news:3e8933c9@newsgroups.borland.com...
> > The error is "Table doesn't exist"

Re:Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)


Just curious, you cannot use RequestLive against Oracle because of this
"feature"?

krf

Quote
"Robert Cerny" <robert.qwe.ce...@neosys.xrs.qwe.si> wrote in message

news:b6cjjb.2ko.1@neosys.xrs.si...
Quote
> Not exactly.
> With RequestLive=true, BDE quotes table name.

> On Oracle table names are case sensitive. If you do a
> select * from ATable, server will try to get best match (guess what
happens
> if you have "atable", "Atable", "ATabLE" and some other idiotic
variations),
> but if the table name is quoted,
> select * from "ATable", server will search exact match.

> --
> Robert Cerny

Re:Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)


Did I mention or anyhow imply it?
Don't think so. This feature just forces you use exact case object names in
case sensitive databases and prevents potential nonrepairable damage. It is
a feature - no quotes needed.

--
Robert Cerny
http://codecentral.borland.com/codecentral/ccWeb.exe/author?authorid=...

Quote
"Kevin Frevert" <ke...@workdrinkingcoffee.com> wrote in message

news:3e89cfbf@newsgroups.borland.com...
Quote
> Just curious, you cannot use RequestLive against Oracle because of this
> "feature"?

> krf

> "Robert Cerny" <robert.qwe.ce...@neosys.xrs.qwe.si> wrote in message
> news:b6cjjb.2ko.1@neosys.xrs.si...
> > Not exactly.
> > With RequestLive=true, BDE quotes table name.

> > On Oracle table names are case sensitive. If you do a
> > select * from ATable, server will try to get best match (guess what
> happens
> > if you have "atable", "Atable", "ATabLE" and some other idiotic
> variations),
> > but if the table name is quoted,
> > select * from "ATable", server will search exact match.

> > --
> > Robert Cerny

Re:Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)


When I replied to Ramon stating when using RequestLive table names are case
sensitive you wrote..

Quote
>Not exactly.
>With RequestLive=true, BDE quotes table name.

Then you wrote..

Quote
> > > On Oracle table names are case sensitive. If you do a
> > > select * from ATable, server will try to get best match (guess what
> > happens
> > > if you have "atable", "Atable", "ATabLE" and some other idiotic
> > variations),
> > > but if the table name is quoted,
> > > select * from "ATable", server will search exact match.

I was under the impression you meant the quotes were causing the problem (no
table named "ATable").

I'm not sure what was "Not exactly" right about my initial response, since
you turned right around and said table names are case-sensitive, but have a
great day anyway.

krf

Quote
"Robert Cerny" <robert.qwe.ce...@neosys.xrs.qwe.si> wrote in message

news:b6epuo.2uo.1@neosys.xrs.si...
Quote
> Did I mention or anyhow imply it?
> Don't think so. This feature just forces you use exact case object names
in
> case sensitive databases and prevents potential nonrepairable damage. It
is
> a feature - no quotes needed.

Re:Delphi 5+Oracle 8i +BDE 5.11 Two query master-Detail (Requestlive=true)


I'm sorry for misunderstanding.
With RequestLive=true, BDE quotes table name, which on case sensitive DB
means exact case matching. On case insensitive DB it usually means nothing.
Except that you can use table names with spaces.

That's why I wrote "not exactly", meaning that RequestLive=true means quoted
table name, but not necessarily case sensitive.

The problem is not cause by quoting, but by not knowing the fact that on
some DBs object names are case sensitive, yet they do best-match, if the
identifiers are not quoted.

--
Robert Cerny
http://codecentral.borland.com/codecentral/ccWeb.exe/author?authorid=...

Other Threads