Subject | Re: [Firebird-Architect] Multi-level name space |
---|---|
Author | Lester Caine |
Post date | 2006-01-13T12:55:25Z |
Jim Starkey wrote:
create table hungry."wolf" (n int);
would produce?
(I am currently battling with this in PHP cross database scripts with
the case of the alias :) )
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.
> Martijn, please stop and think for a moment. You aren't screwed. ThereAnd both are in the schema - hungry - not HUNGRY which
> is no incompatibility -- you can still refer to you table with the
> embedded dot form and it will still work. There is no problem there at
> all. The problem, if it is a problem, is that the following sequence
> *does* fail:
>
> create table "hungry"."wolf" (n int);
> create table "hungry.wolf" (n int);
>
> But it fails cleanly at DDL time so there can't be any actual ambiguity
> problems. So if the only cost of the compromise is that a user is
> prevented from defining a table "wolf" in the schema "hungry" *and* an
> unqualified table "hungry.wolf", then the compromise is a bargain indeed.
create table hungry."wolf" (n int);
would produce?
(I am currently battling with this in PHP cross database scripts with
the case of the alias :) )
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Treasurer - Firebird Foundation Inc.