| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Use of the term "hierarchy"
Marshall Spight schrieb:
> Alexandr Savinov wrote:
>
>>SQL is aimed at manipulating records, not tables.
Yes, I agree, but I meant different thing. We cannot manipulate tables as easily as we can manipulate (sets of) records. Creation and deletion of records is one operation while creation and deletion of tables is another operation. Records may have properties (columns) while tables do not have them (I mean user-defined properties that can be assinged values). We can aggregate, project, join sets but we cannot do the same with table. For example, if we have our departments represented by separate tables then how can we query properties of those departments? Normally for each table we have a record and then process them - but not tables directly. If a new department is created/deleted then its table has to be created/deleted but these operations are not even transactionsl.
The same can be said about columns (dimensions). We cannot easily work with them if information is represented in this way. Just like in many cases we need to represent entities by tables, we need also to represent something in columns. A simple (I do not say good) example is where one column stores sales for one month. If the sales were represented in records we could easily apply our powerful query language. But if for some reason they are stored in columns then we need to process the data manually.
Again, I did not say that we really need
But if we make several assumption about our hypothetical data model then might draw a conclusion that data modeling *can* be carried out by means of tables and by means of dimensions. And then we might want to introduce something that would allow us to query those elements of the model more productively then it is now in SQL or in existing data models.
-- http://conceptoriented.comReceived on Sat Aug 27 2005 - 13:13:21 CDT
![]() |
![]() |