Re: Use of the term "hierarchy"



Kenneth Downs wrote:
>
> SELECT *.employee
> WHERE project_start < '2005-11-15'
>
> the the table-column-oriented system infers that you mean to pull and UNION
> the results from all tables having columns employee code and project_start?

The concern I have with this idea is that is has so much
in the way of non-local effects. One is pulling in data
from essentially the entire namespace. It's not clear to
me that one wants to have the requirement that the
namespace be fully unified; that every "employee" attribute
has to mean the same thing. Scope is a good thing.

Also a non-local effect: the creation of a new table with
the appropriately-named attributes changes the meaning
of this query. It's essentially implicitly dependent on the
entire schema. That's hard to control.


Marshall

.



Relevant Pages

  • Re: Hungarian notation pros vs cons
    ... be in a different namespace than Employee. ... typing, but only when you declare the object or are tryign to cast it. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Hungarian notation pros vs cons
    ... But what about in the database where you can't organize by namespace? ... Even if namespaces didn't solve this, Employee would be a bad ... >> Does anyone disagree with using Hungarian notation? ... > 4) It's inconsistent with the rest of the framework. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: CrystalReport1.prt
    ... So just like any other object, you need the namespace to get to it. ... Employee e = new Employee; ... If you named your report "EmployeeByDepartmentReport", ... I see some sample code using statements like "private CrystalReport1 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Why use relational tables in OO (please just take a look inside)
    ... a table is defined with just one field -- employee pointer ... Because employee pointers are included directly in the indexes, ... using namespace boost; ... typedef tableemp_table; ...
    (comp.object)
  • Re: XPath and default (overridden) namespaces
    ... Peter Theill wrote: ... You should realize that namespace is integral part of an element name, ... so "All "Employee" nodes" actually makes little sense. ... PS. Make sure you read "XML Namespaces and How They Affect XPath and ...
    (microsoft.public.dotnet.xml)